On Fri, Aug 02, 2019 at 04:34:37AM -0400, [email protected] wrote:

Hi there,

> I need to use if to configure some behavior during the ssl client
> authentication because it's enabled at server block and we need to exclude
> some locations from the authentication.

The report I thought I was responding to was that a variable that is
"set" inside an "if" inside a "location", does not appear to have the
"set" value outside that "if" (for the access_log directive).

In that case, defining the variable in a "map" at "http" level and only
referring to it in the access_log directive, should Just Work.

If it doesn't work for you, then I guess you'll need to find some
alternative.

Good luck with it,

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

Reply via email to