Skip to content

Commit 547b8b3

Browse files
authored
[proxy] Add /api/health 200 (#18917)
* [proxy] Add /api/health 200 * Update Caddyfile
1 parent b9e8c94 commit 547b8b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/proxy/conf/Caddyfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,11 @@ https://{$GITPOD_DOMAIN} {
195195
import ssl_configuration
196196
import security_headers
197197

198+
# Make it possible to get an exposed healthcheck, for example for HTTP(s) NLBs
199+
handle /api/health {
200+
respond 200
201+
}
202+
198203
@proxy_server_public_api path /public-api/gitpod.experimental.v1.HelloService*
199204
handle @proxy_server_public_api {
200205
uri strip_prefix /public-api

0 commit comments

Comments
 (0)