I want to ask something about limit_zone

Benimaur Gao benimaur at gmail.com
Tue Oct 30 02:20:47 UTC 2012


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 at waeme.net> wrote:
>
> On 25  Oct2012, at 12:18 , Benimaur Gao <benimaur at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list