ðòïåëôù 


  áòèé÷ 


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 17:25:36 +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=IehTkVMAvPiU9Hn91KS5gBSoLi3h037cPHt4su/+kz4=; b=fZ4GkG+/P08L/+Inm749n8K6bsNGOK5DmJrgO81OrWwzCRpVVkZwsiHrYnoPv4nKmA THdbHBIqJfBmyfZyH7RE83MjXokBr5gFJ8DbwIYqeoqdSaWOt3zSosN2Hw5Y4v8ieBtT 9heA7QXmb+4+x+6qrnbisNcOukMUiWCNgJqNQ=
  • 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=Z7hUObTC6ENdCTe4StYpAcc1y6QcCM31FhRhv9RUUk3nE9bjR0fclBGZgXB61sGThb lgEPsqquUoNiTH7ntpFY7fglxR4+wDHQP63otsPZ5yVD88ZyXAjUx2watqhm6NMTURGc fNe7egYcpjoun0lwA2VgTprWJSEX/QFqkkFPQ=
  • In-reply-to: <007901c9a70a$276371f0$b902a8c0@guffi>
  • References: <a7cd64c30903170621v592b34ffk7cf81a5e7a38ac38@xxxxxxxxxxxxxx> <007901c9a70a$276371f0$b902a8c0@guffi>

÷ÏÔ É ×ÓÅ - ÁÐÁÞ ÐÏÍÉÒÁÅÔ. òÁÚÂÉÒÁÊÔÅÓØ ÐÏÞÅÍÕ

2009/3/17 ÷ÑÞÅÓÌÁ× (óôYDéñ áòô-Déúáêî) <first@xxxxxxxxxx>

÷ ÜÔÏ ×ÒÅÍÑ × error_log ÁÐÁÞÁ:

[Tue Mar 17 14:41:28 2009] [notice] child pid 24478 exit signal Segmentation fault (11)

š

š

--

ó Õ×ÁÖÅÎÉÅÍ, ÷ÑÞÅÓÌÁ×

š

-----Original Message-----
From: owner-
nginx-ru@xxxxxxxxx [mailto:owner-nginx-ru@xxxxxxxxx] On Behalf Of Nikolay Grebnev
Sent: Tuesday, March 17, 2009 4:22 PM
To:
nginx-ru@xxxxxxxxx
Subject: Re: 502 Bad Gateway

š

÷ÁÍ ÎÁÄÏ ÓÍÏÔÒÅÔØ ÎÁ ÞÔÏ ÒÕÇÁÅÔÓÑ ÁÐÁÞ

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.