Proxy bad request

Hi All,

I have a Keycloak 21 being a loadbalancer that send those headers

host: ***
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Safari/605.1.15
accept-language: fr-FR,fr;q=0.9
accept-encoding: gzip, deflate, br
x-forwarded-proto: https
x-forwarded-for: ***

And Keycloak respond with 400 Bad Request all requests.

Did Keycloak support x-forwarded-for in lowercase? How can I log in keycloak proxy request to debug?

Thank you

Not sure if the case makes difference.

Check if your are setting proxy to edge. See proxy section of the configuration guide