diff --git a/cmd/proxy/actions/app.go b/cmd/proxy/actions/app.go index 4caf583d..e232f0d1 100644 --- a/cmd/proxy/actions/app.go +++ b/cmd/proxy/actions/app.go @@ -99,6 +99,11 @@ func App() (*buffalo.App, error) { Logger: blggr, }) if prefix := env.AthensPathPrefix(); prefix != "" { + // certain Ingress Controllers (such as GCP Load Balancer) + // can not send custom headers and therefore if the proxy + // is running behind a prefix as well as some authentication + // mechanism, we should allow the plain / to return 200. + app.GET("/", healthHandler) app = app.Group(prefix) }