Hello,
i use nginx for a vbulletin forum with a domain, let's say mydomain.com.
I want to add some other content on 2 subdomains, content1.mydomain.com and content2.mydomain.com.
So i have 3 serverblocks:
server {
server_name content1.mydomain.com;
[...]
}
server {
server_name content2.mydomain.com;
[...]
}
server {
server_name mydomain.com;
[...]
}
When i access a image on content2.mydomain.com nginx try to load the file from the root dir of content1.mydomain.com.
But mydomain.com works, only content2.mydomain.com didn't work.
What's wrong here?