diff options
-rw-r--r-- | custom/ymir-nginx.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 9d02460d..00c83af8 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -201,6 +201,8 @@ in { | |||
201 | 201 | ||
202 | server_name ~^webdav\.(yggdrasil\.li|141\.li|praseodym\.org)$; | 202 | server_name ~^webdav\.(yggdrasil\.li|141\.li|praseodym\.org)$; |
203 | 203 | ||
204 | client_body_temp_path /tmp/webdav; | ||
205 | |||
204 | location ~ ^/(.+?)(/.*)?$ { | 206 | location ~ ^/(.+?)(/.*)?$ { |
205 | alias /srv/www/webdav/$1$2; | 207 | alias /srv/www/webdav/$1$2; |
206 | autoindex on; | 208 | autoindex on; |
@@ -208,7 +210,6 @@ in { | |||
208 | auth_basic "WebDAV directory ‘$1’"; | 210 | auth_basic "WebDAV directory ‘$1’"; |
209 | auth_basic_user_file /srv/www/webdav/$1.htpasswd; | 211 | auth_basic_user_file /srv/www/webdav/$1.htpasswd; |
210 | 212 | ||
211 | client_body_temp_path /tmp/webdav.$1; | ||
212 | dav_methods PUT DELETE MKCOL COPY MOVE; | 213 | dav_methods PUT DELETE MKCOL COPY MOVE; |
213 | create_full_put_path on; | 214 | create_full_put_path on; |
214 | dav_access user:rw group:r all:r; | 215 | dav_access user:rw group:r all:r; |