diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 22968bf..b80266b 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -13,9 +13,9 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; + # looking for $remote_addr $http_user_agent? log_format main '$remote_user [$time_local] "$request" ' - '$status $body_bytes_sent bytes "$http_referer" ' - '"$http_x_forwarded_for"'; + '$status $body_bytes_sent bytes "$http_referer" '; # While I removed PII from the above log format, still better not logging access_log /dev/null main; # /var/log/nginx/access.log main;