|
|
@ -8,6 +8,10 @@ events { |
|
|
|
http { |
|
|
|
http { |
|
|
|
include /etc/nginx/mime.types; |
|
|
|
include /etc/nginx/mime.types; |
|
|
|
default_type application/octet-stream; |
|
|
|
default_type application/octet-stream; |
|
|
|
|
|
|
|
types { |
|
|
|
|
|
|
|
application/javascript mjs; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' |
|
|
|
log_format main '$remote_addr - $remote_user [$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"'; |
|
|
|