|
worker_processes auto; |
|
|
|
events { |
|
worker_connections 1024; |
|
} |
|
|
|
http { |
|
include /etc/nginx/mime.types; |
|
default_type application/octet-stream; |
|
|
|
|
|
proxy_connect_timeout 60s; |
|
proxy_send_timeout 60s; |
|
proxy_read_timeout 60s; |
|
|
|
|
|
client_body_temp_path /tmp/nginx/body 1 2; |
|
proxy_temp_path /tmp/nginx/proxy; |
|
fastcgi_temp_path /tmp/nginx/fastcgi; |
|
|
|
|
|
proxy_buffering on; |
|
proxy_buffer_size 4k; |
|
proxy_buffers 8 4k; |
|
proxy_busy_buffers_size 8k; |
|
|
|
|
|
client_max_body_size 10m; |
|
client_body_timeout 60s; |
|
client_header_timeout 60s; |
|
|
|
|
|
access_log /dev/stdout; |
|
error_log /dev/stderr warn; |
|
|
|
include /etc/nginx/conf.d/*.conf; |
|
} |
|
|