Welcome! Log In Create A New Profile

Advanced

Directive "map" not working with regex key and value that like "$1"

December 18, 2014 10:26AM
Hi,

I have some configuration like:

map $host $sub {
default www;
~^(\w+)\.abc\.com$ $1;
}

And it not works.
I first find it in 1.1.19 and seems the latest version still have this issue.

Thanks.


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Directive "map" not working with regex key and value that like "$1"

kindy 830 December 18, 2014 10:26AM

Re: Directive "map" not working with regex key and value that like "$1"

Maxim Dounin 352 December 18, 2014 11:12AM

Re: Directive "map" not working with regex key and value that like "$1"

kindy 444 December 18, 2014 06:24PM

Re: Directive "map" not working with regex key and value that like "$1"

Maxim Dounin 375 December 19, 2014 07:00AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 145
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready