diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-28 15:07:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-28 15:07:26 +0300 |
commit | e4dad5d33053f0facde637888363a8954d0d5e46 (patch) | |
tree | 3a7cea1e66facf23c6df70a4b19ef6c21ac0e3ee /workhorse/internal/upstream | |
parent | b9e30139939a4fe3f75faf149f641477d38d0cd9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'workhorse/internal/upstream')
-rw-r--r-- | workhorse/internal/upstream/upstream.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/workhorse/internal/upstream/upstream.go b/workhorse/internal/upstream/upstream.go index c0678b1cb3e..6258016c10c 100644 --- a/workhorse/internal/upstream/upstream.go +++ b/workhorse/internal/upstream/upstream.go @@ -243,6 +243,7 @@ func (u *upstream) updateGeoProxyFields(geoProxyURL *url.URL) { u.Version, geoProxyRoundTripper, proxypkg.WithCustomHeaders(geoProxyWorkhorseHeaders), + proxypkg.WithForcedTargetHostHeader(), ) u.geoProxyCableRoute = u.wsRoute(`^/-/cable\z`, geoProxyUpstream) u.geoProxyRoute = u.route("", "", geoProxyUpstream, withGeoProxy()) |