Re: Ресурсов на рабочий процесс
Александр Кутузов
alleteam at gmail.com
Mon Jun 23 23:52:10 MSD 2008
user apache apache;
worker_processes 8;
pid /var/run/nginx.pid;
error_log /var/log/nginx/error_log error;
events {
worker_connections 8192;
use epoll;
}
http {
access_log /var/log/nginx/access_log combined;
include /etc/nginx/mime.types;
default_type application/octet-stream;
client_header_timeout 10m;
client_body_timeout 10m;
send_timeout 10m;
connection_pool_size 256;
client_header_buffer_size 32k;
large_client_header_buffers 64 64k;
request_pool_size 4k;
client_max_body_size 1024m;
proxy_buffering on;
proxy_buffers 128 512k;
proxy_buffer_size 32k;
proxy_read_timeout 120;
proxy_connect_timeout 30;
proxy_send_timeout 30;
proxy_ignore_client_abort off;
proxy_intercept_errors off;
gzip on;
gzip_comp_level 4;
gzip_disable "MSIE [1-6]\.";
gzip_min_length 1100;
gzip_buffers 4 8k;
gzip_types text/plain text/css text/xml
application/x-javascript;
output_buffers 4 32k;
postpone_output 1460;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 300 300;
upload_progress proxied 8m;
ignore_invalid_headers on;
limit_zone one $binary_remote_addr 10m;
include /etc/nginx/vhost.conf;
}
More information about the nginx-ru
mailing list