I don’t really know anything about this but I’ve done a bit of reading. If I point my two domains to the VPS nameservers, and my app-nginx.conf looks like this:
server {
listen 80;
server_name www.domain1.com;
root /path/to/your/project;
}
server {
listen 80;
server_name www.domain2.com;
root /path/to/your/project;
}
Is there anything else I would need to be doing? It doesn’t seem to work currently.
please try on server:
What you see now?
What you see in logs, when nginx start?
What is output of nginx -T ?