diff --git a/NginxDefault b/NginxDefault index 7bbe9ab..05192db 100644 --- a/NginxDefault +++ b/NginxDefault @@ -22,8 +22,14 @@ server { # deny access to .htaccess files, if Apache's document root # concurs with nginx's one - # location ~ /\.ht { deny all; } + + # Health check endpoint + location /health { + access_log off; + add_header 'Content-Type' 'application/json'; + return 200 '{"status":"Healthy"}'; + } }