Welcome! Log In Create A New Profile

Advanced

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

December 18, 2014 06:24PM
Yep, it's a bug but not a question.
Thanks.

> On 2014年12月19日, at 00:11, Maxim Dounin <mdounin@mdounin.ru> wrote:
>
> Hello!
>
>> On Thu, Dec 18, 2014 at 11:23:51PM +0800, Kindy Lin wrote:
>>
>> 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.
>
> This doesn't looks like a development-related question. Please
> use nginx@ mailing list for such questions. Thank you.
>
> --
> Maxim Dounin
> http://nginx.org/
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel

_______________________________________________
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 716 December 18, 2014 10:26AM

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

Maxim Dounin 302 December 18, 2014 11:12AM

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

kindy 402 December 18, 2014 06:24PM

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

Maxim Dounin 334 December 19, 2014 07:00AM



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

Online Users

Guests: 176
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready