Hello!
On Tue, Jul 27, 2010 at 04:58:49PM +0530, Sougata Pal. wrote:
> I have tried the following config, but it is generating error while
> restarting the server.
>
> *Error: *[emerg]: unknown "new_host" variable
>
> server {
> listen 80;
> server_name ~(?P<new_host>.*)\.xyz\.com;
Named captures in regular expression are supported in 0.8.25+.
You are probably using an older version.
Maxim Dounin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx