Directive "map" not working with regex key and value that like "$1"
Maxim Dounin
mdounin at mdounin.ru
Thu Dec 18 16:11:55 UTC 2014
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/
More information about the nginx-devel
mailing list