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!
on 2012-10-25 10:19
on 2012-10-25 10:39
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
on 2012-10-30 03:21
thanks, but is this method a global setting? can I only change the return code for limit_zone?
on 2012-10-30 10:22
On Tuesday 30 October 2012 06:20:47 Benimaur Gao wrote: > thanks, but is this method a global setting? > can I only change the return code for limit_zone? > Nginx does not return 503 itself, except limit_req/limit_conn. wbr, Valentin V. Bartenev -- http://nginx.com/support.html http://nginx.org/en/donation.html
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.