server {
listen 80;
server_name example1.com;
location / {
proxy_pass http://localhost:3000;
}
}
server {
listen 80;
server_name example2.com;
location / {
proxy_pass http://localhost:8000;
}
}