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]

Re: 502 Bad Gateway


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: 502 Bad Gateway
  • From: Nikolay Grebnev <nick@xxxxxxxxxxxx>
  • Date: Tue, 17 Mar 2009 16:21:30 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=yb2unCksTNaAKDGfoonT78IinIdrPjuZFEPQfGnof0Y=; b=UfvWbqpbjksmKDhCSQ+QOSl9bJtkK2HJCxiZhFK0vTXlX3Yv3ms8W4HxYznZXats4O Em3+frafKe9AsVIwC+iiOir2XjKGo61FbqrUq1DP4FNAYGz3w+5Uk7Tb1TmhBOON3U6q mJ+8Lf5BDXrbT2d+H4ndQuKAK0Snl5OstkUNE=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=qB66pvu/edUGzmGEFCnj2c3ZjqXhTfS1Lb5giuZozHfKRYBfEAttDxqL3wdlEue+TP OsVLxZ1HPbW1lXBW3TgWpjttMV+rQ5W71UKFnowOPJle3y2QIzcD4tdpxOkTX17uqKOH chNkUBiusDVv5jtULJdx8HUMKPOMPfKqf7JaY=
  • In-reply-to: <006a01c9a6fe$bf4abca0$b902a8c0@guffi>
  • References: <006a01c9a6fe$bf4abca0$b902a8c0@guffi>



2009/3/17 (YD -D) <first@xxxxxxxxxx>

, 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.