I had a index.html serving through nginx server block to 1.example.com successfully.
When installed ERPnext and enabled multi-tenancy based on dns at 2.example.com
ERPnext is working fine, but 1.example.com showing “Sorry! We will be back soon.”
server {
root /usr/share/nginx/www; #change this to your html location
index index.html index.htm;
server_name 1.example.com;
location / {
try_files $uri $uri/ /index.html;
}
}