Undocumented error_page bug/feature/behavior

i just discovered this after 2 hours of testing

If you define error_page for a server block multiple times, only
the first one will take, subsequent ones will not override

That means if you store your error pages in a macro, to override it
would be:

error_page 503 /503.error
include /usr/local/nginx/_macros/error_page.conf;

and not

include /usr/local/nginx/_macros/error_page.conf;
error_page 503 /503.error

I’m not sure if this was intended or not ( personally , i don’t like
it ).

but I wanted to share this with others.

I take it error_page.conf resets the error_page for 503? What happens
if
you try with something like “error_page NNN = @location;”?

HI everybody
Happy New Year!
do nginx has the modules like apache’s mod_cband ?
i want to use it in a virtual host