nginx-java-parser icon indicating copy to clipboard operation
nginx-java-parser copied to clipboard

Parser fails on replacement tokens proxy_redirect ~^(http://[^:]+):\d+(/.+)$ $1$2;

Open mg1213 opened this issue 9 years ago • 1 comments

user root; http { server { proxy_redirect ~^(http://[^:]+):\d+(/.+)$ $1$2;
} } image

mg1213 avatar Aug 22 '16 09:08 mg1213

We have a case where the parser fails on this statement which extracts env variables from host headers:

        server_name ~^(?<subdomain>.+)\.example\.com$;

looks likely to be related

CodingFabian avatar Dec 09 '16 07:12 CodingFabian