Set ExtAuthz Cluster name to URL Host (#1132)

This commit is contained in:
Travis Groth 2020-07-23 14:10:16 -04:00 committed by GitHub
parent 1867feb5b9
commit 90d95b8c10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ func (srv *Server) buildClusters(options *config.Options) []*envoy_config_cluste
buildInternalCluster(options, "pomerium-control-plane-http", httpURL, false),
}
clusters = append(clusters, buildInternalCluster(options, "pomerium-authz", authzURL, true))
clusters = append(clusters, buildInternalCluster(options, authzURL.Host, authzURL, true))
if config.IsProxy(options.Services) {
for _, policy := range options.Policies {