Welcome! Log In Create A New Profile

Advanced

Re: negation in the map directive of nginx

September 09, 2022 02:53AM
If you want to use regexes (to negate) you should use it properly, e.g. start with a "~".
See more: http://nginx.org/en/docs/http/ngx_http_map_module.html
That said, Francis' idea is a good one. Trying to negate things in regex is quite counterproductive.
Subject Author Posted

negation in the map directive of nginx

libresco_27 September 08, 2022 01:25PM

Re: negation in the map directive of nginx

Francis Daly September 08, 2022 06:56PM

Re: negation in the map directive of nginx

libresco_27 September 11, 2022 11:22AM

Re: negation in the map directive of nginx

Francis Daly September 11, 2022 06:58PM

Re: negation in the map directive of nginx

teodorescu.serban September 09, 2022 02:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready