From 68562e007cdd190303a4fbe14c31b2fc1efd6f9a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 6 Dec 2017 00:12:31 +0100 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/ymir-nginx.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'custom') 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 { server_name ~^webdav\.(yggdrasil\.li|141\.li|praseodym\.org)$; + client_body_temp_path /tmp/webdav; + location ~ ^/(.+?)(/.*)?$ { alias /srv/www/webdav/$1$2; autoindex on; @@ -208,7 +210,6 @@ in { auth_basic "WebDAV directory ‘$1’"; auth_basic_user_file /srv/www/webdav/$1.htpasswd; - client_body_temp_path /tmp/webdav.$1; dav_methods PUT DELETE MKCOL COPY MOVE; create_full_put_path on; dav_access user:rw group:r all:r; -- cgit v1.2.3