Update nginx/nginx.conf
This commit is contained in:
parent
4a7da8552d
commit
25e5a8b3eb
1 changed files with 2 additions and 2 deletions
|
|
@ -13,9 +13,9 @@ http {
|
||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
||||||
|
# looking for $remote_addr $http_user_agent?
|
||||||
log_format main '$remote_user [$time_local] "$request" '
|
log_format main '$remote_user [$time_local] "$request" '
|
||||||
'$status $body_bytes_sent bytes "$http_referer" '
|
'$status $body_bytes_sent bytes "$http_referer" ';
|
||||||
'"$http_x_forwarded_for"';
|
|
||||||
|
|
||||||
# While I removed PII from the above log format, still better not logging
|
# While I removed PII from the above log format, still better not logging
|
||||||
access_log /dev/null main; # /var/log/nginx/access.log main;
|
access_log /dev/null main; # /var/log/nginx/access.log main;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue