Shawn,
On 1/6/22 10:31 PM, Shawn Heisey wrote:
Trying to find out if "http-request del-header" is case-sensitive. I
have the following in my front end and would like to know if I need all
of them or if I can reduce the list:
This would be easy enough to simply try it out yourself :-)
HTTP headers are defined to be case-insensitive. HAProxy emits them
fully-lowercased (unless you override this with h1-case-adjust).
I recommend to use the lowercased version in the configuration, so just:
http-request del-header x-forwarded-for
http-request del-header x-forwarded-proto
is sufficient.
Best regards
Tim Düsterhus