-
Notifications
You must be signed in to change notification settings - Fork 619
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
Should rewrite the Host Header #75
Comments
+1 Perhaps a workable solution here would be adding opts "host=www.domain.com" to the route -- if it supported that :) |
@magiconair does the above comment make sense? |
Hi @manos , sorry for the delay. I was on vacation for a couple of weeks and I'm catching up now. I think what you're suggesting makes sense. |
Hi, My use case is to configure docker HRM endpoint in fabio and I face the issue. |
This has been fixed in #375 which is currently on master. I'll cut a 1.5.3 today to roll this out since the metrics refactor is going to take longer. |
Thank you looking forward for 1.5.3 release. |
So the 1.5.3 is released |
Following the HTTP1.1 spec, rfc2616-sec14,
a proxy has to rewrite the host header:
This is also, how e.g. nginx behaves.
And it is needed, if the upstream server are using a virtual host configuration.
Here there is a possible fix for it:
https://github.com/smancke/fabio/tree/proxy-header-handling
And we had already some discussion about that in #72
The text was updated successfully, but these errors were encountered: