diff --git a/configuration/common/default.nix b/configuration/common/default.nix index 8fd421b..c4557cb 100644 --- a/configuration/common/default.nix +++ b/configuration/common/default.nix @@ -79,7 +79,10 @@ log_format combined_anon '$remote_addr_anon - $remote_user [$time_local] ' '"$request" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent"'; - access_log /var/log/nginx/access.log combined_anon; + log_format vcombined_anon '$host: $remote_addr_anon - $remote_user [$time_local] ' + '"$request" $status $body_bytes_sent ' + '"$http_referer" "$http_user_agent"'; + access_log /var/log/nginx/access.log vcombined_anon; ''; virtualHosts = {