Thank you.. yes I guess they do.. I wasn't sure how nginx behaved, so I
played with it. I hoped it wouldn't do it that way, but what can we do.
Everything's nice. I also found that this simplifies some things:
server_name domain1.com *.domain1.com;
Thank you all,
David
John Leach wrote:
Something else: reload (/etc/init.d/nginx reload) doesn't seem to work
well everytime (in addition to not telling you the errors).. I'm not
100% sure about this but I won't use it anymore for now.. I'll just
restart the server.
--
Posted via http://www.ruby-forum.com/.
Le mercredi 29 août 2007 à 15:20 +0200, D. Krmpotic a écrit :
Hi!
I played around with it a little bit and found out the following:
server_name in a vhost entry doesn't really guarantee that only requests
coming from specified domain will get served by that vhost.
For example
Jérémy thanx, but I think you missed alias lines in second example and
the point of the first example was that when it *doesn't* find
domain2.com, it just goes to the first vhosts entry (for domain1.com).
Jérémy DIERX wrote:
Le mercredi 29 août 2007 à 15:20 +0200, D. Krmpotic a écrit :
--