<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 17, 2022 at 3:13 AM Sergey A. Osokin <<a href="mailto:osa@freebsd.org.ru">osa@freebsd.org.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Nov 16, 2022 at 10:29:04PM +0530, Kaushal Shriyan wrote:<br>
> Checking in again if someone can help me with my earlier post to this<br>
> mailing list? Thanks in advance.<br>
<br>
I'd recommend to take a look on the proxy_intercept_errors directive [1],<br>
it helps to intercept 300+ error codes and processing with the error_page<br>
directive [2].<br>
<br>
References<br>
1. <a href="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors" rel="noreferrer" target="_blank">https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors</a><br>
2. <a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#error_page" rel="noreferrer" target="_blank">http://nginx.org/en/docs/http/ngx_http_core_module.html#error_page</a><br>
<br>
Hope that helps.<br>
<br>
-- <br>
Sergey A. Osokin<br>
_______________________________________________<br>
nginx mailing list -- <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
To unsubscribe send an email to <a href="mailto:nginx-leave@nginx.org" target="_blank">nginx-leave@nginx.org</a></blockquote><div><br></div><div dir="ltr">Thanks Sergey for the email and appreciate it. I will go through the link below and keep you updated. Thanks in advance. </div><div dir="ltr"><br></div><div dir="ltr">1. <a href="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors" rel="noreferrer" target="_blank">https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors</a><br>2. <a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#error_page" rel="noreferrer" target="_blank">http://nginx.org/en/docs/http/ngx_http_core_module.html#error_page</a><br></div><div dir="ltr"><br></div><div>Best Regards,</div><div><br></div><div>Kaushal</div><div> </div></div></div>