Le 12/07/2019 à 13:26, Luke Seelenbinder a écrit :
Hi Christopher,
That definitely is ugly—but it works. Thanks! I'll look for improvements in 2.1.
Hi Luke,
FYI, a feature has been added in the 2.1 to change the case of header names.
Take a look on the commit 98fbe953:
http://git.haproxy.org/?p=haproxy.git;a=commitdiff;h=98fbe953
Now, you may decide to change the case of specific header names using global
directives "h1-case-adjust" or "h1-case-adjust-file". It can be enabled in both
directions, client or server, with 2 options, the first for the frontends
("option h1-case-adjust-bogus-client") and the other one for the backends
("option h1-case-adjust-bogus-server").
Best,
--
Christopher Faulet