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

feature: expose proxy_set_header Host to be configurable #9

Open
chri2 opened this issue Jul 4, 2024 · 0 comments
Open

feature: expose proxy_set_header Host to be configurable #9

chri2 opened this issue Jul 4, 2024 · 0 comments

Comments

@chri2
Copy link

chri2 commented Jul 4, 2024

I added a reverse proxy to another site like this

short.my.doma.in (yunohost) → this.is.a.boring.long.domain.name.I.cant.remeber.net (somewhere else on the internet)

and it worked, but the external site didn't deliver the expected content, because the outgoings http Host header is set to short.my.doma.in and the wrong virtual host answers.

Adding proxy_set_header Host this.is.a.boring.long.domain.name.I.cant.remeber.net; to the nginx configuration did the trick.

It would be nice to be able to configure this through the apps settings.

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

No branches or pull requests

1 participant