summaryrefslogtreecommitdiff
path: root/hosts/surtr/http.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-31 18:42:01 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-31 18:42:01 +0100
commitce7b47941f2fe6e509d6ff390cdf7cf3cc711363 (patch)
treeb109bc3273d335947595aab2531767516342e0dc /hosts/surtr/http.nix
parentcbf09fd5254881e3fed8cdbc8eab7064aabc3b1b (diff)
downloadnixos-ce7b47941f2fe6e509d6ff390cdf7cf3cc711363.tar
nixos-ce7b47941f2fe6e509d6ff390cdf7cf3cc711363.tar.gz
nixos-ce7b47941f2fe6e509d6ff390cdf7cf3cc711363.tar.bz2
nixos-ce7b47941f2fe6e509d6ff390cdf7cf3cc711363.tar.xz
nixos-ce7b47941f2fe6e509d6ff390cdf7cf3cc711363.zip
...
Diffstat (limited to 'hosts/surtr/http.nix')
-rw-r--r--hosts/surtr/http.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/surtr/http.nix b/hosts/surtr/http.nix
index c3ff42f6..5e63a311 100644
--- a/hosts/surtr/http.nix
+++ b/hosts/surtr/http.nix
@@ -34,7 +34,7 @@
34 dav_access user:rw; 34 dav_access user:rw;
35 autoindex on; 35 autoindex on;
36 36
37 client_body_temp_path /run/nginx/client-bodies; 37 client_body_temp_path /run/nginx-client-bodies;
38 client_max_body_size 0; 38 client_max_body_size 0;
39 create_full_put_path on; 39 create_full_put_path on;
40 ''; 40 '';
@@ -58,8 +58,8 @@
58 "webdav.141.li.key.pem:${config.security.acme.certs."webdav.141.li".directory}/key.pem" 58 "webdav.141.li.key.pem:${config.security.acme.certs."webdav.141.li".directory}/key.pem"
59 "webdav.141.li.pem:${config.security.acme.certs."webdav.141.li".directory}/fullchain.pem" 59 "webdav.141.li.pem:${config.security.acme.certs."webdav.141.li".directory}/fullchain.pem"
60 ]; 60 ];
61 RuntimeDirectory = lib.mkForce [ "nginx" "nginx/client-bodies" ]; 61 RuntimeDirectory = lib.mkForce [ "nginx" "nginx-client-bodies" ];
62 RuntimeDirectoryMode = "0700"; 62 RuntimeDirectoryMode = "0750";
63 }; 63 };
64 }; 64 };
65 }; 65 };