fix: update nginx fallback to properly serve custom 404 page
This commit is contained in:
@@ -48,7 +48,7 @@ http {
|
|||||||
|
|
||||||
# SPA fallback for Next.js static export
|
# SPA fallback for Next.js static export
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri.html $uri/ /index.html;
|
try_files $uri $uri.html $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Health check endpoint
|
# Health check endpoint
|
||||||
|
|||||||
Reference in New Issue
Block a user