Setup NGINX to serve to static site on the same domain
When i use this nginx configuration separately – sites open normally server { server_name mysite.com; root /myblog; index index.html; location / { try_files $uri $uri/ =404; } listen 80; listen [::]:80; } server { server_name mysite.com; root /homepage; index index.html; location / { try_files $uri $uri/ =404; } listen 80; listen [::]:80; } How to … Read more