From 92db2624c916133add4f32defb0e31d64539d245 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 5 Dec 2017 23:26:57 +0100 Subject: Move webdav out of home --- custom/ymir-nginx.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'custom') diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 96633f00..701a1108 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix @@ -194,11 +194,11 @@ in { include ${acme}; location ~ ^/(.+?)(/.*)?$ { - alias /home/$1/webdav$2; + alias /srv/www/webdav/$1$2; autoindex on; auth_basic "WebDAV user directory of $1"; - auth_basic_user_file /home/$1/webdav.htpasswd; + auth_basic_user_file /srv/www/webdav/$1.htpasswd; client_body_temp_path /tmp/webdav.$1; dav_methods PUT DELETE MKCOL COPY MOVE; -- cgit v1.2.3