Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Virtualhosts and map

$
0
0
Hallo Maxim Dounin,

thanks for your answer. It helps me.

>This can't be a reason as long as you have "default_server"
>parameter of the "listen" directive properly set for listen
>sockets used.

My thought was, the default file is the first alphabetical file
in the folder. And the next domainfile namend with do*.*.
As I make the big nginx.conf for the first time I had the same problem.
I had the default at the first serverblock. Then I write this serverblock
to the end of the serverblocks and all was OK. This alphabetical sort
managed something in a other way, I thought.

I will test same things in the next days. Thanks

Varix

Viewing all articles
Browse latest Browse all 53287

Trending Articles



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