Directive "map" not working with regex key and value that like "$1"
Kindy Lin
kindy61 at gmail.com
Thu Dec 18 23:23:14 UTC 2014
Yep, it's a bug but not a question.
Thanks.
> On 2014年12月19日, at 00:11, Maxim Dounin <mdounin at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
More information about the nginx-devel
mailing list