updates on the build file

This commit is contained in:
2026-06-11 21:27:09 +05:30
parent 6f5f3d50d3
commit c8e51a188c
2 changed files with 19 additions and 14 deletions

View File

@@ -11,9 +11,7 @@ http {
location / {
root /usr/share/nginx/html;
index index.html index.htm;
# Next.js static export creates page.html (e.g. contact.html) for routes.
# We check $uri.html to allow clean URLs without the .html extension.
try_files $uri $uri.html $uri/ /404.html;
try_files $uri $uri/ /index.html;
}
}
}