@bouke wrote:
I have a backend that is setup serving requests as
http://fakehost
, whilst my haproxy is configured to serve requests forhttp://realhost
. I want to enable HTTP/2, so I addedalpn h2,http/1.1
to my config. However the rule for rewriting theHost:
header no longer works after making this change. My simplified config is listed below. Is modifying headers supported with HTTP/2, and if so, how?frontend a bind ... alpn h2,http/1.1 default_backend b (...) backend b reqrep ^Host:\ realhost Host:\ fakehost (...)
Posts: 1
Participants: 1