Update nginx/nginx.conf

This commit is contained in:
Minecon724 2025-08-17 19:40:51 +00:00
commit 25e5a8b3eb

View file

@ -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;