Re[2]: limit_rate странно себя ведёт.
Михаил Монашёв
postmaster at softsearch.ru
Sat Jan 20 20:25:42 MSK 2007
Здравствуйте Игорь,
Вот конфиг, может он наведёт ещё на какие-то мысли.
#user nobody;
worker_processes 5;
error_log /var/log/error.log;
#error_log /var/log/debug.error.log;
pid /var/run/nginx.pid;
events {
worker_connections 8192;
use kqueue;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
send_lowat 12000;
ignore_invalid_headers on;
server_names_hash_bucket_size 64;
geo $country {
default --;
include ipranges;
}
geo $country_masterhost {
default --;
include ipranges_masterhost;
}
geo $slow {
default 1;
include ipranges_fast;
}
gzip on;
gzip_min_length 1100;
gzip_buffers 4 8k;
gzip_types text/html application/x-javascript text/css text/xml;
client_header_timeout 3m;
client_body_timeout 3m;
send_timeout 3m;
postpone_output 1460;
keepalive_timeout 75 60;
log_format main '$remote_addr [$time_local] $host "$request" $status "$http_referer" "$http_user_agent"';
access_log off;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_set_header X-country $country;
proxy_set_header X-country-masterhost $country_masterhost;
proxy_set_header Host $host;
#for internal POST-redirects in blogs
proxy_set_header Args "";
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_temp_path /var/tmp;
server {
...
}
--
С уважением,
Михаил Монашёв, SoftSearch.ru
Member of Independent Software Developers Forum (ISDEF)
mailto:postmaster at softsearch.ru
ICQ# 166233339
http://softsearch.ru/
Без бэкапа по жизни.
More information about the nginx-ru
mailing list