From 25e5a8b3ebaf7bf8e7b89c60ec537d855185c352 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Sun, 17 Aug 2025 19:40:51 +0000 Subject: [PATCH] Update nginx/nginx.conf --- nginx/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;