diff options
Diffstat (limited to 'custom/ymir-nginx.nix')
-rw-r--r-- | custom/ymir-nginx.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
194 | include ${acme}; | 194 | include ${acme}; |
195 | 195 | ||
196 | location ~ ^/(.+?)(/.*)?$ { | 196 | location ~ ^/(.+?)(/.*)?$ { |
197 | alias /home/$1/webdav$2; | 197 | alias /srv/www/webdav/$1$2; |
198 | autoindex on; | 198 | autoindex on; |
199 | 199 | ||
200 | auth_basic "WebDAV user directory of $1"; | 200 | auth_basic "WebDAV user directory of $1"; |
201 | auth_basic_user_file /home/$1/webdav.htpasswd; | 201 | auth_basic_user_file /srv/www/webdav/$1.htpasswd; |
202 | 202 | ||
203 | client_body_temp_path /tmp/webdav.$1; | 203 | client_body_temp_path /tmp/webdav.$1; |
204 | dav_methods PUT DELETE MKCOL COPY MOVE; | 204 | dav_methods PUT DELETE MKCOL COPY MOVE; |