remove useless things from the log and clean it up
All checks were successful
/ docker (push) Successful in 1m54s

This commit is contained in:
Lee 2023-07-07 23:54:21 +01:00
parent 0352cd247a
commit 41b064c1e3

@ -4,9 +4,7 @@ events {
http { http {
# Log format # Log format
log_format main '[$time_local] "$request" ' log_format main '[$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /dev/stdout main; # Log access to stdout access_log /dev/stdout main; # Log access to stdout
error_log /dev/stdout; # Log errors to stdout error_log /dev/stdout; # Log errors to stdout