Re: Strange error_page behavior

2020-08-07 Thread Fabiano Furtado Pessoa Coelho
Thanks for the reply and I'm sorry! It was my fault that I didn't see that text in the documentation. "These directives are inherited from the previous level if and only if there are no error_page directives defined on the current level." On Fri, Aug 7, 2020 at 4:05 AM Francis Daly wrote: > > On

Re: Strange error_page behavior

2020-08-07 Thread Francis Daly
On Thu, Aug 06, 2020 at 09:43:46PM -0300, Fabiano Furtado Pessoa Coelho wrote: Hi there, > http { > error_page 502 503 /my503.html; > ... > server { > ... > error_page 403 =503 /my503.html; > #error_page 502 503 /my503.html; > I can solve this issue uncommenting the "#error_pa

Strange error_page behavior

2020-08-06 Thread Fabiano Furtado Pessoa Coelho
Hi... I have the following setup in my NGINX 1.18.0 server: http { ... error_page 400 /my400.html; error_page 401 /my401.html; error_page 403 /my403.html; error_page 404 /my404.html; error_page 405 /my405.html; error_page 413 /my413.html; error_page 500