On Thu, Aug 01, 2019 at 01:16:45PM +0200, Marcello Lorenzi wrote:

Hi there,

just as a small interruption...

> It seems that the set variable is not
> working into the if statement.

"if" inside "location" is not great to use, unless you know what it does.

> We can’t use the “map” parameter because it works only to a http block and
> not into location block.

You probably can use "map" at http level to define the
access_log-if-variable. Try it, you might be pleasantly surprised.

Cheers,

        f
-- 
Francis Daly        [email protected]
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to