Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http_proxy: set Host domain correctly #1143

Merged
merged 1 commit into from
Jan 10, 2020

Conversation

eloycoto
Copy link
Contributor

If http_proxy is set the host header is always rewritten to the IP. With
this change the http_proxy will be set to the DNS name to avoid issues
with virtual host in the endpoints.

Signed-off-by: Eloy Coto eloy.coto@gmail.com

@eloycoto eloycoto requested a review from a team as a code owner November 22, 2019 10:42
@eloycoto eloycoto force-pushed the HTTP_proxy_HOST_HEADER branch 3 times, most recently from 91304bf to 8bfad8c Compare November 22, 2019 16:14
If http_proxy is set the host header is always rewritten to the IP. With
this change the http_proxy will be set to the DNS name to avoid issues
with virtual host in the endpoints.

Fix THREESCALE-4178

Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
@eloycoto eloycoto changed the title WIP: http_proxy: set Host domain correctly http_proxy: set Host domain correctly Dec 20, 2019
@eloycoto eloycoto merged commit 1a18920 into 3scale:master Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants