Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

502 Bad Gateway



, nginx-ru!

.

Nginx 0.7.42 -, apache2 -

 

- openx adv.site.ru

, , - 502 Bad Gateway

 

error.log

2009/03/17 14:41:28 [error] 21567#0: *1041029 upstream prematurely closed connection while reading response header from upstream, client: X.X.X.X, server: adv.site.ru, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "adv.site.ru"

 

apache :

ListenBacklog 4096

 

:

server {

listen 80;

server_name adv.site.ru;

 

location / {

proxy_pass http://127.0.0.1:8080/;

proxy_redirect off;

 

proxy_set_header Host $host;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

 

client_max_body_size 10m;

client_body_buffer_size 128k;

 

proxy_connect_timeout 90;

proxy_send_timeout 90;

proxy_read_timeout 90;

 

proxy_buffer_size 32k;

proxy_buffers 4 32k;

proxy_busy_buffers_size 64k;

proxy_temp_file_write_size 64k;

}

}

 

, - - .

- .

.

--

,  

 

 



 




Copyright © Lexa Software, 1996-2009.