Он по умолчанию включен.<br>
<br><br><div class="gmail_quote">18 ноября 2011 г. 12:12 пользователь Dr.Virus <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>></span> написал:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Присоединяюсь к вопросу. Аналогичная<br>
ситуация, но proxy_buffering не включен.<br>
FreeBSD 8.2, nginx 1.0.5, apache-itk 2.2.17<br>
<br>
Конфиг:<br>
<br>
user www www;<br>
worker_processes 8;<br>
<br>
error_log /var/log/nginx/error.log notice;<br>
<br>
pid /var/run/nginx.pid;<br>
<br>
events {<br>
worker_connections 1024;<br>
use kqueue;<br>
}<br>
<br>
<br>
http {<br>
include mime.types;<br>
default_type application/octet-stream;<br>
<br>
access_log off;<br>
<br>
sendfile on;<br>
tcp_nopush on;<br>
<br>
gzip on;<br>
gzip_min_length 1000;<br>
gzip_proxied any;<br>
gzip_types text/plain text/xml application/xml<br>
application/x-javascript text/javascript text/css text/json;<br>
gzip_disable "msie6";<br>
gzip_comp_level 6;<br>
<br>
proxy_cache_path /var/db/nginx levels=1:2 keys_zone=one:5000m<br>
inactive=30d max_size=5G;<br>
proxy_cache_min_uses 1;<br>
proxy_cache_valid 30m;<br>
proxy_connect_timeout 75;<br>
proxy_max_temp_file_size 16096m;<br>
<br>
client_max_body_size 10240m;<br>
<br>
limit_zone three $binary_remote_addr 10m;<br>
<br>
server {<br>
<br>
listen 80;<br>
server_name <a href="http://fs.domain.ru" target="_blank">fs.domain.ru</a>;<br>
<br>
location / {<br>
proxy_pass <a href="http://127.0.0.1:8181" target="_blank">http://127.0.0.1:8181</a>;<br>
proxy_set_header Host $host;<br>
proxy_set_header X-Real-IP $remote_addr;<br>
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br>
proxy_cache off;<br>
access_log off;<br>
allow all;<br>
}<br>
}<br>
<br>
}<br>
}<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?21,216011,218542#msg-218542" target="_blank">http://forum.nginx.org/read.php?21,216011,218542#msg-218542</a><br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
nginx-ru mailing list<br>
<a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-ru" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-ru</a></div></div></blockquote></div><br>