server { listen 7860; location / { root /usr/share/nginx/html; index index.html; try_files $uri $uri/ /index.html; } # Explicitly serve the Google verification file location = /googleb9ba1724a9a29c23.html { root /usr/share/nginx/html; default_type text/html; } # Serve sitemap and robots location = /sitemap.xml { root /usr/share/nginx/html; default_type application/xml; } location = /robots.txt { root /usr/share/nginx/html; default_type text/plain; } }