[mod_proxy] replace HTTP Host sent to backend (fixes #2770)
commit879ce0b534fc62fac9e5585f49570d5fac3c7e2c
authorGlenn Strauss <gstrauss@gluelogic.com>
Sat, 10 Dec 2016 06:37:49 +0000 (10 01:37 -0500)
committerGlenn Strauss <gstrauss@gluelogic.com>
Sat, 10 Dec 2016 06:37:49 +0000 (10 01:37 -0500)
tree3f784050606c2d233f1f3ee9cffa64fc74723516
parent090985af6bae875b8540cf5af87d606dbb4962c9
[mod_proxy] replace HTTP Host sent to backend (fixes #2770)

replace HTTP Host sent to backend if configured with
  proxy.replace-http-host = "enable"
and lighttpd.conf proxy.server definition provides replacement Host

(thx altblue)

x-ref:
  "Override proxified Host header"
  https://redmine.lighttpd.net/issues/2770
src/mod_proxy.c