summaryrefslogtreecommitdiff
path: root/hosts/surtr/http.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr/http.nix')
-rw-r--r--hosts/surtr/http.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/hosts/surtr/http.nix b/hosts/surtr/http.nix
index fb22492f..a7b61d81 100644
--- a/hosts/surtr/http.nix
+++ b/hosts/surtr/http.nix
@@ -14,6 +14,7 @@
14 recommendedGzipSettings = true; 14 recommendedGzipSettings = true;
15 recommendedProxySettings = true; 15 recommendedProxySettings = true;
16 recommendedTlsSettings = true; 16 recommendedTlsSettings = true;
17 sslDhparam = config.security.dhparams.params.nginx.path;
17 commonHttpConfig = '' 18 commonHttpConfig = ''
18 ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1; 19 ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1;
19 20
@@ -25,6 +26,8 @@
25 26
26 access_log syslog:server=unix:/dev/log main; 27 access_log syslog:server=unix:/dev/log main;
27 error_log syslog:server=unix:/dev/log info; 28 error_log syslog:server=unix:/dev/log info;
29
30 client_body_temp_path /run/nginx-client-bodies;
28 ''; 31 '';
29 additionalModules = with pkgs.nginxModules; [ dav pam ]; 32 additionalModules = with pkgs.nginxModules; [ dav pam ];
30 virtualHosts = { 33 virtualHosts = {
@@ -45,7 +48,6 @@
45 dav_access user:rw; 48 dav_access user:rw;
46 autoindex on; 49 autoindex on;
47 50
48 client_body_temp_path /run/nginx-client-bodies;
49 client_max_body_size 0; 51 client_max_body_size 0;
50 create_full_put_path on; 52 create_full_put_path on;
51 53