Hello!
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 sub.domain.net/ I still get the 502 error instead of being served from the /somefolder/stuff folder?....
server {
listen 80;
server_name sub.domain.net;
location = / {
root /somefolder/stuff;
index index.html index.htm;
}
location / {
return 502;
}
}