Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Development
> Topic
Advanced
Directive "map" not working with regex key and value that like "$1"
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
kindy
December 18, 2014 10:26AM
Registered: 13 years ago
Posts: 8
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
Reply
Quote
RSS
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