ðòïåëôù 


  áòèé÷ 


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


  • To: <nginx-ru@xxxxxxxxx>
  • Subject: 502 Bad Gateway
  • From: ÷ÑÞÅÓÌÁ× (óôYDéñ áòô-Déúáêî) <first@xxxxxxxxxx>
  • Date: Tue, 17 Mar 2009 15:49:01 +0300
  • Importance: Normal

äÏÂÒÙÊ ÄÅÎØ, ÓÏÏÂÝÅÓÔ×Ï 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.