Many improvements to the server #4
@ -4,9 +4,7 @@ events {
|
||||
|
||||
http {
|
||||
# Log format
|
||||
log_format main '[$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
log_format main '[$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
|
||||
|
||||
access_log /dev/stdout main; # Log access to stdout
|
||||
error_log /dev/stdout; # Log errors to stdout
|
||||
|
Loading…
Reference in New Issue
Block a user