Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 502-е в почту
- To: nginx-ru@xxxxxxxxx
- Subject: Re: 502-е в почту
- From: "Gaidamak" <nginx-forum@xxxxxxxx>
- Date: Thu, 23 May 2013 02:28:23 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=helium.jlkhosting.com; s=x; h=Date:Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=OQpsCX8lZiPa5YdlB5ChST5dkXbf9Fw7qW5xWPuRX7E=; b=IH+O1vyHRMYYrEBSAblxouIDK1Wvo7ebhPqhTKUR1PCdCKOTER0CDR7PyFqoQNe22s3Rxy3yEU0T3yucvU0NZxyywBYSLrdDJDlXBpZUHp6WXi1UI9Kro0mHWV1qlpFdSP7k8XOR+mptZYkmDhtFTzc5w1Z6XAhmMcGLtavpE1Y=;
- In-reply-to: <20130522141433.GG69760@mdounin.ru>
- References: <20130522141433.GG69760@mdounin.ru>
Перенес обработку 400 в блок сервера по дефолту.
server {
server_tokens off;
listen 80 accept_filter=httpready;
recursive_error_pages on;
error_page 400 = @400;
location @400 {
access_log /var/log/nginx-400.log custom_db;
error_page 418 /empty;
return 400;
}
location /
{
access_log off;
empty_gif;
}
}
include sites/*.conf;
}
Не работает.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,239411,239458#msg-239458
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|