Add healthcheck endpoint for dashboard
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user