Re: Possible bug with "proxy_intercept_errors on; " + "error_page 301 302"?

2023-06-29 Thread Fabiano Furtado Pessoa Coelho
Thanks! I'm gonna try this approach. On Thu, Jun 29, 2023 at 7:00 PM Maxim Dounin wrote: > > Hello! > > On Thu, Jun 29, 2023 at 04:29:39PM -0300, Fabiano Furtado Pessoa Coelho wrote: ... > > The "proxy_intercept_errors" handling does not copy any response > headers from the original response (the

Re: Possible bug with "proxy_intercept_errors on; " + "error_page 301 302"?

2023-06-29 Thread Maxim Dounin
Hello! On Thu, Jun 29, 2023 at 04:29:39PM -0300, Fabiano Furtado Pessoa Coelho wrote: > Hi... > > I have one peculiar issue with NGINX 1.22.0 + "proxy_intercept_errors > on;" + custom 302 "error_page". > > Here is my simplified NGINX config: > > http { > error_page 301 302 /30x.html; > ser

Possible bug with "proxy_intercept_errors on; " + "error_page 301 302"?

2023-06-29 Thread Fabiano Furtado Pessoa Coelho
Hi... I have one peculiar issue with NGINX 1.22.0 + "proxy_intercept_errors on;" + custom 302 "error_page". Here is my simplified NGINX config: http { error_page 301 302 /30x.html; server { location /30x.html { root /etc/nginx/custom_error_pages; sub_filter_once off; su

Re: NGINX 1.23.4 warning message

2023-06-29 Thread Francis Daly
On Thu, Jun 29, 2023 at 11:00:21AM -0300, Fabiano Furtado Pessoa Coelho wrote: > On Wed, Jun 28, 2023 at 10:03 PM Sergey A. Osokin wrote: > > On Wed, Jun 28, 2023 at 05:19:55PM -0300, Fabiano Furtado Pessoa Coelho > > wrote: Hi there, > > > Changes with nginx 1.23.42

Re: NGINX 1.23.4 warning message

2023-06-29 Thread Fabiano Furtado Pessoa Coelho
On Wed, Jun 28, 2023 at 10:03 PM Sergey A. Osokin wrote: > > Hi Fabiano, Hi... > On Wed, Jun 28, 2023 at 05:19:55PM -0300, Fabiano Furtado Pessoa Coelho wrote: > > > > Changes with nginx 1.23.428 Mar 2023 > > > > *) Change: now nginx issues a warning if protocol para