Newbie config not catching virtual host.

Nuno Magalhães nunomagalhaes at eu.ipp.pt
Fri Feb 27 16:34:25 MSK 2009


I've changed sites-enabled so that it has default, which is a symlink
to sites-available/default. I have the 40x.html page both in the / and
in /mysite directories, with the right permissions.
I've changed sites-available/default to this http://pastebin.com/m2e7c6869

Now i get 301 or redirect loop complaints, depending on the browser.
Also, if i use http://1.2.3.4 isntead of domain.com i get redirected
to domain.com anyway.

Are there any suggestions?

Nuno Magalhães
LU#484677





More information about the nginx mailing list