negation in the map directive of nginx

teodorescu.serban nginx-forum at
Fri Sep 9 06:53:56 UTC 2022

If you want to use regexes (to negate) you should use it properly, e.g.
start with a "~".
See more:
That said, Francis' idea is a good one. Trying to negate things in regex is
quite counterproductive.

Posted at Nginx Forum:,295157,295161#msg-295161

More information about the nginx mailing list