Many improvements to the server #4
@ -3,13 +3,13 @@ events {
|
|||||||
}
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
access_log /dev/stdout; # Log access to stdout
|
|
||||||
error_log /dev/stdout; # Log errors to stdout
|
|
||||||
|
|
||||||
# Log format
|
# Log format
|
||||||
log_format main '[$time_local] "$request" '
|
log_format main '[$time_local] "$request" '
|
||||||
'$status $body_bytes_sent "$http_referer" '
|
'$status $body_bytes_sent "$http_referer" '
|
||||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||||
|
|
||||||
|
access_log /dev/stdout main; # Log access to stdout
|
||||||
|
error_log /dev/stdout; # Log errors to stdout
|
||||||
|
|
||||||
include mime.types; # Include the mime types file
|
include mime.types; # Include the mime types file
|
||||||
default_type application/octet-stream; # Default type
|
default_type application/octet-stream; # Default type
|
||||||
|
Loading…
Reference in New Issue
Block a user