|
|
|
@ -33,6 +33,10 @@ stream { |
|
|
|
http { |
|
|
|
http { |
|
|
|
include /etc/nginx/mime.types; |
|
|
|
include /etc/nginx/mime.types; |
|
|
|
default_type application/octet-stream; |
|
|
|
default_type application/octet-stream; |
|
|
|
|
|
|
|
map $http_upgrade $connection_upgrade { |
|
|
|
|
|
|
|
default upgrade; |
|
|
|
|
|
|
|
'' close; |
|
|
|
|
|
|
|
} |
|
|
|
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"'; |
|
|
|
|