Remove port from all keycloak urls

So I’ve been working on my authentication with keycloak. Everything is working fine.

I’ve made a nginx proxy_pass which removes the port 8443 (keycloak docker) from the url to the login form.

My problem still is that some of the urls have the port 8443. For example, If I type in some wrong credentials, I am redirect to the url with the port.

Is there any way to remove the port for all url used by keycloak? I don’t want the user to be able to see the port my keycloak is running on.

Thanks a lot!

Some of the proxying must have been missed in your nginx. If feel comfortable, you can post what you have in placed.

Sure! Thanks a lot for the response.

This is the part of my nginx keycloak config:

  location /auth/ {