diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-24 20:59:41 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-24 20:59:41 +0100 |
commit | 522c8a27dbde0d337c40aa05597c43df05f5ff8f (patch) | |
tree | a9f5457a6a1c37f7df2e2815c79e2e0cdd6e5b67 /hosts/surtr/http.nix | |
parent | 026ea0b58ce6f7521090ec3dadd6ae10cdf7e66c (diff) | |
download | nixos-522c8a27dbde0d337c40aa05597c43df05f5ff8f.tar nixos-522c8a27dbde0d337c40aa05597c43df05f5ff8f.tar.gz nixos-522c8a27dbde0d337c40aa05597c43df05f5ff8f.tar.bz2 nixos-522c8a27dbde0d337c40aa05597c43df05f5ff8f.tar.xz nixos-522c8a27dbde0d337c40aa05597c43df05f5ff8f.zip |
surtr: synapse.li: ...
Diffstat (limited to 'hosts/surtr/http.nix')
-rw-r--r-- | hosts/surtr/http.nix | 4 |
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 | ||