diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-06 00:12:31 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-06 00:12:31 +0100 |
commit | 68562e007cdd190303a4fbe14c31b2fc1efd6f9a (patch) | |
tree | e939b2dc0490b4567ecba6e4fd64e152a21c8dd5 /custom/ymir-nginx.nix | |
parent | 65a570d357a5f6961be195269a52ed5d7a766249 (diff) | |
download | nixos-68562e007cdd190303a4fbe14c31b2fc1efd6f9a.tar nixos-68562e007cdd190303a4fbe14c31b2fc1efd6f9a.tar.gz nixos-68562e007cdd190303a4fbe14c31b2fc1efd6f9a.tar.bz2 nixos-68562e007cdd190303a4fbe14c31b2fc1efd6f9a.tar.xz nixos-68562e007cdd190303a4fbe14c31b2fc1efd6f9a.zip |
…
Diffstat (limited to 'custom/ymir-nginx.nix')
-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; |