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

**URL:** <https://discuss.konghq.com/t/kong-gateway-cant-recognize-x-forwarded-proto-https-which-https-is-capitalized-from-proxy/13171>\
**Category:** Questions\
**Tags:** kong-gateway\
**Created:** [November 8, 2024, 2:58am UTC](https://discuss.konghq.com/t/kong-gateway-cant-recognize-x-forwarded-proto-https-which-https-is-capitalized-from-proxy/13171 "2024-11-08T02:58:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wanki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/wanki/32/4732_2.png) [@wanki](https://discuss.konghq.com/u/wanki)\
**Post date:** [November 8, 2024, 2:58am UTC](https://discuss.konghq.com/t/kong-gateway-cant-recognize-x-forwarded-proto-https-which-https-is-capitalized-from-proxy/13171/1 "2024-11-08T02:58:32Z")

</div>

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

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/konghq/original/2X/2/2912314b35ee92a2cf9c0bf3b2ae8e4194db7a2b.png)

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.
