title: Keycloak redirects localhost and not redirect remote url
body: <p>I have my Keycloak server and my web app connected with to Keycloak to do the login into the app.</p>
  
  <p>If I run in local, its redirects perfectly, but if I deploy the server and the web app in the same server, when the web app redirects to keycloak it redirects to localhost not to the remote url.</p>
  
  <p>Any idea how to avoid redirects to localhost?</p>