adding healthcheck to proxy service

This commit is contained in:
Martin McKeaveney 2023-05-09 11:48:49 +01:00
parent bd13a2d186
commit bbf271961f
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;
}