Welcome! Log In Create A New Profile

Advanced

Re: RegEx VHost name and the default VHost

January 23, 2013 03:54PM
Thank you very much for the usefull links and the tip. Yes, the vhost default was not default. Now I've set it to default explicitly with the flaf default_server and everything works fine!

Thank you, Valentin!

Since "default server is the first one" (http://nginx.org/en/docs/http/request_processing.html), the problem must have been, that the server couldn't find a vhost for the request and just took the first vhost. But what ist "the first" vhost, when all vhosts are stored in different files? In which order are the vhost files processed?
SubjectAuthorPosted

RegEx VHost name and the default VHost

automatixJanuary 23, 2013 01:37PM

Re: RegEx VHost name and the default VHost

Valentin V. BartenevJanuary 23, 2013 02:18PM

Re: RegEx VHost name and the default VHost

automatixJanuary 23, 2013 02:41PM

Re: RegEx VHost name and the default VHost

Valentin V. BartenevJanuary 23, 2013 03:24PM

Re: RegEx VHost name and the default VHost

automatixJanuary 23, 2013 03:54PM

Re: RegEx VHost name and the default VHost

Valentin V. BartenevJanuary 23, 2013 05:32PM

[resolved] Re: RegEx VHost name and the default VHost

automatixJanuary 23, 2013 06:05PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready