Quantcast
Viewing all articles
Browse latest Browse all 53287

Re: RegEx VHost name and the default VHost

On Wednesday 23 January 2013 23:41:36 automatix wrote:
> Thank you for your reply!
>
> > server_name ~^(?<project>.+)\.(?<area>.+)\.loc$;
>
> Yes, you are right, it's the better way to extract values from a RegEx into
> vars.
>
> > Are you sure that your "default" is actually the default server
>
> configuration for the listening address:port?
> No, I'm not. How can I check it?
>

You should check the listen directive.

Please see this article: http://nginx.org/en/docs/http/request_processing.html
and also the documentation: http://nginx.org/r/listen

wbr, Valentin V. Bartenev

--
http://nginx.com/support.html
http://nginx.org/en/donation.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>