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: error_page limit_conn


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: error_page limit_conn
  • From: <nobody.mail@xxxxxxxxx>
  • Date: Fri, 8 Apr 2011 15:46:38 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=U/SNuxN4HWm0/csM8qasIp1DA4MMeY3ullBYku40vC0=; b=CXPmSk6ff7cogl1I2hMZRN/RNscMQh3KN7gKfHNpERfJkSnO3qgmN1i8QathhWUyAd L3fH1tCdV0d8e8Ya6uSjwO5iGTiWAT9g70BnpFXWsjo5Y+AfubXtLffu8/qyEQ8+5BI4 cn5DRPOXB3xJTGVljpQAEuKOHocFavf5brc8U=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=jVcOrpHPM7wY7jZzvT4UBm6ZbWDIf6RYPTpy6FfB1BhCdsTSxvarcfempzis/LHB0p afH6iwofGYIgdVnot346qGXtrNfZ0DoubANNhDLd3/CkuTwt5lblz9TWRckMA6Q+wEin wcK4siieQ+0g00kqEyxa1ydKmae2jhsE3P924=
  • In-reply-to: <20110408112759.GJ89017@xxxxxxxxxx>
  • References: <BANLkTinOkzT6tiT-rZa6w0Mu3tiFkWBGUQ@xxxxxxxxxxxxxx> <20110408112759.GJ89017@xxxxxxxxxx>

8 2011. 15:27 Maxim Dounin <mdounin@xxxxxxxxxx> :

Just a side note: internal ,
location ģ.

Just another side note: BTW, location +
rewrite,

error_page ... /sorry.html

location = /sorry.html {
...
}

?


.sorry.html - ,
"" 500.htm .

error_page 500 502 503 504 =503 @error500;

location @default500 {
internal;
root /bla/bla/www/htdocs;
set $original_uri $uri;
rewrite ^.*$ /sorry.html break;
access_log /bla/bla/nginx/error500.log outofsrv buffer=1m;
log_not_found on;
}

location @error500 {
internal;
try_files /500.htm @default500;
log_not_found on;
root $root_path;
set $original_uri $uri;
access_log /bla/bla/nginx/error500.log outofsrv buffer=1m;
}

, BTW, POST-
location' 405-
/sorry.html.


, error_page 405 ?
503 503- limit_conn -
$upstream_status ( 503 - ).
if' - ,
.

. . .

--
,


: +7(928)2961142
icq: 101241013
jabber: nobody.mail@xxxxxxxxx
skype: nobody.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.