Following the HTTP1.1 spec, rfc2616-sec14,
a proxy has to rewrite the host header:
An HTTP/1.1 proxy MUST ensure that any request message
it forwards does contain an appropriate Host header field
that identifies the service being requested by the proxy.
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
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