fix: update health check command to use wget and fix 404 page handling in nginx configuration

This commit is contained in:
alam00000
2026-03-23 19:01:29 +05:30
parent a9e3128347
commit 0bf33ccd5b
2 changed files with 5 additions and 3 deletions

View File

@@ -99,8 +99,10 @@ http {
add_header Cache-Control "public, immutable";
}
error_page 404 /404.html;
location / {
try_files $uri $uri/ $uri.html /index.html;
try_files $uri $uri/ $uri.html =404;
expires 5m;
add_header Cache-Control "public, must-revalidate";
add_header Cross-Origin-Embedder-Policy "require-corp" always;