Add healthcheck endpoint for dashboard

This commit is contained in:
2026-08-17 22:50:52 +03:30
parent 395b895686
commit edd63cbdfc
3 changed files with 28 additions and 1 deletions
+7
View File
@@ -37,6 +37,13 @@ server {
access_log off;
}
# Health check endpoint
location ~ ^/(health|healthz)$ {
access_log off;
default_type application/json;
return 200 '{"status":"healthy","service":"dashboard"}';
}
# SPA routing - route all queries to index.html
location / {
try_files $uri $uri/ /index.html;