Very wierd config error..

alexscott nginx-forum at
Fri Apr 13 11:02:45 UTC 2012

I'm sorry to bother the forum with these kind of questions, but I simply
can't figure out what I'm doing wrong here:

When I access I still get the 502 error instead of being
served from the /somefolder/stuff folder?....

server {
	listen 80;

location = / {
root /somefolder/stuff;
index index.html index.htm;


location / {

return 502;



Posted at Nginx Forum:,225300,225300#msg-225300

More information about the nginx mailing list