summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/surtr/http.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/surtr/http.nix b/hosts/surtr/http.nix
index cfd99b53..fb22492f 100644
--- a/hosts/surtr/http.nix
+++ b/hosts/surtr/http.nix
@@ -32,6 +32,7 @@
32 forceSSL = true; 32 forceSSL = true;
33 sslCertificate = "/run/credentials/nginx.service/webdav.141.li.pem"; 33 sslCertificate = "/run/credentials/nginx.service/webdav.141.li.pem";
34 sslCertificateKey = "/run/credentials/nginx.service/webdav.141.li.key.pem"; 34 sslCertificateKey = "/run/credentials/nginx.service/webdav.141.li.key.pem";
35 sslTrustedCertificate = "/run/credentials/nginx.service/webdav.141.li.chain.pem";
35 locations."/".extraConfig = '' 36 locations."/".extraConfig = ''
36 root /srv/files/$remote_user; 37 root /srv/files/$remote_user;
37 38
@@ -69,6 +70,7 @@
69 LoadCredential = [ 70 LoadCredential = [
70 "webdav.141.li.key.pem:${config.security.acme.certs."webdav.141.li".directory}/key.pem" 71 "webdav.141.li.key.pem:${config.security.acme.certs."webdav.141.li".directory}/key.pem"
71 "webdav.141.li.pem:${config.security.acme.certs."webdav.141.li".directory}/fullchain.pem" 72 "webdav.141.li.pem:${config.security.acme.certs."webdav.141.li".directory}/fullchain.pem"
73 "webdav.141.li.chain.pem:${config.security.acme.certs."webdav.141.li".directory}/chain.pem"
72 ]; 74 ];
73 RuntimeDirectory = lib.mkForce [ "nginx" "nginx-client-bodies" ]; 75 RuntimeDirectory = lib.mkForce [ "nginx" "nginx-client-bodies" ];
74 RuntimeDirectoryMode = "0750"; 76 RuntimeDirectoryMode = "0750";