<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 23, 2022 at 11:20 PM Francis Daly <<a href="mailto:francis@daoine.org">francis@daoine.org</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 Tue, Nov 22, 2022 at 07:52:41PM +0530, Kaushal Shriyan wrote:<br>
<br>
Hi there,<br>
<br>
> map $sent_http_content_type $enableerror {<br>
> default on;<br>
> application/json off;<br>
> }<br>
<br>
I believe that from a timing point of view, that variable is not going<br>
to have a useful value when you want to use it.<br>
<br>
> I have attached the nginxtest.conf file for your reference. It is not<br>
> working for me. Am I missing anything? Please guide me.<br>
<br>
The test conf file does not appear to include the seven lines that I<br>
suggested you add.<br>
<br>
And "is not working" is an incomplete problem report.<br>
<br>
Cheers,<br>
<br>
f<br></blockquote><div><br></div><div>Thanks Francis for the quick response. </div><div><br></div><div>I am not sure about this line error_page 555 /dummyfile; what does 555 code mean and what will be the contents of dummyfile?</div><div><br></div>location ^~ /apis/ {<br> fastcgi_intercept_errors off;<br> error_page 555 /dummyfile;<br> fastcgi_pass <a href="http://127.0.0.1:9000">127.0.0.1:9000</a>;<br> include fastcgi.conf;<br> fastcgi_param SCRIPT_FILENAME /var/www/html/gsmaidp/web/index.php;</div><div class="gmail_quote"> } <br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><div>Please guide me.</div><div><br></div><div>Best Regards,</div><div><br></div><div>Kaushal</div></div></div>