multiple server_name entries not working with FastCGI?

Michael nginx at thismetalsky.org
Tue Jun 10 22:20:35 MSD 2008


I probably just overlooked something in the documentation...

I have the following config (sans less relevant things):

server {
	server_name test.domain.com test;

	location / {
		fastcgi_pass 127.0.0.1:10001;
	}
}


If I browse to http://test.domain.com/ the FastCGI app runs fine.

If I browse to http://test/ it doesn't, at all, a blank page is shown.

Removing the FastCGI app, and using an index.html, both of these work properly.

What did I miss?

-- 
Michael Stella  |  IT Systems Architect
PGP: 1024D/BC3FF6D4 2BC2 A79B 88D1 218A B32B  ED7A 2EC2 1206 BC3F F6D4
I may make you feel, but I can't make you think.





More information about the nginx mailing list