Merge pull request #10526 from Budibase/fix/proxy-service-health-check

adding healthcheck to proxy service
This commit is contained in:
Martin McKeaveney 2023-05-09 14:07:58 +01:00 committed by GitHub
commit 4e22a92913
1 changed files with 6 additions and 0 deletions

View File

@ -82,6 +82,12 @@ http {
set $couchdb ${COUCHDB_UPSTREAM_URL};
set $watchtower ${WATCHTOWER_UPSTREAM_URL};
location /health {
access_log off;
add_header 'Content-Type' 'application/json';
return 200 '{ "status": "OK" }';
}
location /app {
proxy_pass $apps;
}