summaryrefslogtreecommitdiff
path: root/hosts/surtr
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-31 22:57:42 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-31 22:57:42 +0100
commit075a445194dc5d079588e88ea7cae27056454479 (patch)
treeec861a7f01e76391ebfa5b3c4d9d5f23e651ec8f /hosts/surtr
parentef1443a2d1b613b4f00b2d17677a0e97d63471fe (diff)
downloadnixos-075a445194dc5d079588e88ea7cae27056454479.tar
nixos-075a445194dc5d079588e88ea7cae27056454479.tar.gz
nixos-075a445194dc5d079588e88ea7cae27056454479.tar.bz2
nixos-075a445194dc5d079588e88ea7cae27056454479.tar.xz
nixos-075a445194dc5d079588e88ea7cae27056454479.zip
...
Diffstat (limited to 'hosts/surtr')
-rw-r--r--hosts/surtr/http.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/surtr/http.nix b/hosts/surtr/http.nix
index 938634a7..e78a69fa 100644
--- a/hosts/surtr/http.nix
+++ b/hosts/surtr/http.nix
@@ -17,6 +17,12 @@
17 commonHttpConfig = '' 17 commonHttpConfig = ''
18 ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1; 18 ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1;
19 19
20 log_format main
21 '$remote_addr "$remote_user" '
22 '"$host" "$request" $status $bytes_sent '
23 '"$http_referer" "$http_user_agent" '
24 '$gzip_ratio';
25
20 access_log syslog:server=unix:/dev/log main; 26 access_log syslog:server=unix:/dev/log main;
21 error_log syslog:server=unix:/dev/log info; 27 error_log syslog:server=unix:/dev/log info;
22 ''; 28 '';