From 075a445194dc5d079588e88ea7cae27056454479 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 31 Jan 2022 22:57:42 +0100 Subject: ... --- hosts/surtr/http.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hosts/surtr') 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 @@ commonHttpConfig = '' ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1; + log_format main + '$remote_addr "$remote_user" ' + '"$host" "$request" $status $bytes_sent ' + '"$http_referer" "$http_user_agent" ' + '$gzip_ratio'; + access_log syslog:server=unix:/dev/log main; error_log syslog:server=unix:/dev/log info; ''; -- cgit v1.2.3