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

Correct nginx proxy Host header #210

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chriswue
Copy link

The Host header should be the target host not the source host. Fixes #209

The Host header should be the target host not the source host
@jkhenning
Copy link
Member

Hi @chriswue, I just want to be absolutely sure, but it seems this change contradicts the example shown here: http://nginx.org/en/docs/http/ngx_http_proxy_module.html
Can you please shed some more light on this?

@chriswue
Copy link
Author

@jkhenning Not sure which example you refer to specifically but this corroborates what I'm talking about:
image

@Dominik-Weinzierl
Copy link

Any updates on this pull request? We would need that change as well. Thank you!

@jkhenning
Copy link
Member

@chriswue , since your change basically changes it back to the default, wouldn't it be better just to remove this line?

@Dominik-Weinzierl
Copy link

Dominik-Weinzierl commented May 6, 2024

That should work as well (but i am not sure), yes 🤔

Edit: Somehow deleting all pods and volumes and installing version 7.8.2 fixed the issue for us - so right now no need to change something.

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.

nginx proxy forward Host header config is wrong
3 participants