diff options
-rw-r--r-- | hosts/surtr/http.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/surtr/http.nix b/hosts/surtr/http.nix index b8f57268..77a60034 100644 --- a/hosts/surtr/http.nix +++ b/hosts/surtr/http.nix | |||
@@ -10,11 +10,15 @@ | |||
10 | 10 | ||
11 | services.nginx = { | 11 | services.nginx = { |
12 | enable = true; | 12 | enable = true; |
13 | package = pkgs.nginxQuic; | ||
13 | recommendedGzipSettings = true; | 14 | recommendedGzipSettings = true; |
14 | recommendedProxySettings = true; | 15 | recommendedProxySettings = true; |
15 | recommendedTlsSettings = true; | 16 | recommendedTlsSettings = true; |
16 | commonHttpConfig = '' | 17 | commonHttpConfig = '' |
17 | ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1; | 18 | ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1; |
19 | |||
20 | access_log syslog:server=unix:/dev/log main; | ||
21 | error_log syslog:server=unix:/dev/log info; | ||
18 | ''; | 22 | ''; |
19 | additionalModules = with pkgs.nginxModules; [ dav pam ]; | 23 | additionalModules = with pkgs.nginxModules; [ dav pam ]; |
20 | virtualHosts = { | 24 | virtualHosts = { |