|
|
|
@ -3,7 +3,7 @@ |
|
|
|
# * Official Russian Documentation: http://nginx.org/ru/docs/ |
|
|
|
|
|
|
|
worker_processes auto; |
|
|
|
error_log /var/log/nginx/error.log; |
|
|
|
error_log /dev/stderr info; |
|
|
|
pid /run/nginx.pid; |
|
|
|
|
|
|
|
# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic. |
|
|
|
@ -21,8 +21,7 @@ http { |
|
|
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' |
|
|
|
'$status $body_bytes_sent "$http_referer" ' |
|
|
|
'"$http_user_agent" "$http_x_forwarded_for"'; |
|
|
|
|
|
|
|
access_log /var/log/nginx/access.log main; |
|
|
|
access_log /dev/stdout main; |
|
|
|
|
|
|
|
sendfile on; |
|
|
|
tcp_nopush on; |
|
|
|
|