Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: limit req и страница ошибки
- To: nginx-ru@xxxxxxxxx
- Subject: Re: limit req и страница ошибки
- From: Валентин Бартенев <ne@xxxxxxxx>
- Date: Tue, 28 Aug 2012 15:41:38 +0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=vbart.ru; s=mail; h=Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:In-Reply-To:References:Date:Subject:To:From; bh=Q78cRhvjksFc//hk2dF752K6vYK05jjPeuHmigH/shQ=; b=pnRWgVagD0MGXBYVJRDlal34I6kisfqfLvIkoXIq9RbfuAtu9upV3Tt+DrN+rMoDEIRNMCouJiqQoWp8ki58vaBnsFUPH4ZYJCHTrZf7TkJvj+xgl2L2O3DWXbTLTWesgcmh2Iv5r2++z50hz8Mu9UlXDUilbS+O0PtpXW+8qh1z+RoRT8uYT2616QWJ/PR7cszDXWE0RqvHIDwBevoImO57ZPqeJEHiEnWD9qr0JrKcn94+vmgiqT76q/q7imYPWgGThmRyrokmfUmRTgeGU5s5T08/OdV5HR/I9Qn6ziJZSLNiJKn72/8AR2jZDbvDHa1jeGtkYaCuCR+EkTs/9Q==;
- In-reply-to: <c3184cbf944f5b11d14c35c85a9a7b39.NginxMailingListRussian@forum.nginx.org>
- References: <c3184cbf944f5b11d14c35c85a9a7b39.NginxMailingListRussian@forum.nginx.org>
On Tuesday 28 August 2012 14:35:55 Hett wrote:
> location / {
> limit_req zone=two burst=5;
> proxy_pass http://127.0.0.1:8084;
> proxy_set_header Host $host;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> }
>
>
> Как-то можно задать HTML страницу, которая будет показываться вместо 500
> ошибки для этой зоны?
>
http://nginx.org/r/error_page/ru
--
Валентин Бартенев
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|