Kong Gateway can't recognize "x-forwarded-proto: HTTPS" which HTTPS is capitalized from proxy

Hi everyone,

I have a problem with https request from WAF => Kong gateway.
My WAF is forwarding https request to Kong gateway with header “x-forwarded-proto: HTTPS” but Kong can’t recognize https request and return 426 status code

Further testing, I tried using curl command with option -H “x-forwarded-proto: HTTPS”, its return message “Please use HTTPS protocol”.

Another test, I tried using curl command with option -H “x-forwarded-proto: https”, its work as same as I expected.

So, I have a concern that Kong can’t recognize “x-forwarded-proto: HTTPS” which HTTPS is capitalized from proxy. And how to fix it and make Kong understand “x-forwarded-proto” header.

Noted: Changing HTTPS to lowercase in WAF is impossible.

I need a favor. Thank your for your help.