diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-31 22:49:06 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-31 22:49:06 +0100 |
commit | e773f5a4fbf42a868c0c10a3250c57305b5ae6b3 (patch) | |
tree | 8dcfd758f8d5cd1655ef95a7122735cceef15746 /hosts/surtr | |
parent | d0d71cc5c3d156dc88e7bb4550d34fff5e872fcf (diff) | |
download | nixos-e773f5a4fbf42a868c0c10a3250c57305b5ae6b3.tar nixos-e773f5a4fbf42a868c0c10a3250c57305b5ae6b3.tar.gz nixos-e773f5a4fbf42a868c0c10a3250c57305b5ae6b3.tar.bz2 nixos-e773f5a4fbf42a868c0c10a3250c57305b5ae6b3.tar.xz nixos-e773f5a4fbf42a868c0c10a3250c57305b5ae6b3.zip |
...
Diffstat (limited to 'hosts/surtr')
-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 = { |