Welcome! Log In Create A New Profile

Advanced

Re: I want to ask something about limit_zone

Benimaur Gao
October 29, 2012 10:22PM
thanks, but is this method a global setting?
can I only change the return code for limit_zone?

On Thu, Oct 25, 2012 at 4:38 PM, Sergey Budnevitch <sb@waeme.net> wrote:
>
> On 25 Oct2012, at 12:18 , Benimaur Gao <benimaur@gmail.com> wrote:
>
>> I've learned that if some IP exceeds the limit, a 503 http status code
>> will be returned.
>> I'm trying to find a way to change the default 503 value, e.g. use
>> some other code, such as 403 to replace it, can I ? and how to?
>> thanks!
>
> error_page 503 =403 /error_page.html;
>
> http://nginx.org/r/error_page
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

I want to ask something about limit_zone

Benimaur Gao October 25, 2012 04:20AM

Re: I want to ask something about limit_zone

Sergey Budnevitch October 25, 2012 04:40AM

Re: I want to ask something about limit_zone

Benimaur Gao October 29, 2012 10:22PM

Re: I want to ask something about limit_zone

VBart October 30, 2012 05:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 153
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready