Keycloak is adding adding port 80 to https urls


I have deployed an instance of keycloack (with this chart keycloak 15.1.0 · codecentric/codecentric) in my kubernetes cluster, and it is running behind a reverse-proxy kubernetes ingress.

If I send a request to https://{host}/auth/realms/master/.well-known/openid-configuration to check the config, it’s almost ok, except that all the urls have an added port 80

issuer: “https://{host}:80/auth/realms/master”

How can I remove this port?

Did you follow readme keycloak 15.1.0 · codecentric/codecentric ?

I already set PROXY_ADDRESS_FORWARDING to true, otherwise it would set the urls protocol to http (although it would remove the port)