On Tue, Nov 22, 2022 at 07:52:41PM +0530, Kaushal Shriyan wrote:

Hi there,

> map $sent_http_content_type $enableerror {
>     default                    on;
>     application/json          off;
> }

I believe that from a timing point of view, that variable is not going
to have a useful value when you want to use it.

> I have attached the nginxtest.conf file for your reference. It is not
> working for me. Am I missing anything? Please guide me.

The test conf file does not appear to include the seven lines that I
suggested you add.

And "is not working" is an incomplete problem report.

Cheers,

        f
-- 
Francis Daly        fran...@daoine.org
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-le...@nginx.org

Reply via email to