I am trying to run Keycloak 3.2.1.Final behind a nginx reverse Proxy (later this will become Ingress). The goal is to reach the same keycloak service from different adresses like so:
and so on.
What I managed to do was change the standalone.xml <web-context> setting from 'auth' to 'foo1/baz1/keycloak' and reach the service like this:
but in no combination of configs was I able to make the Nginx Proxy and the Keycloak server work together to be reached via the a.com domain on Port 80.
There is a solution to a very similar question @ Configure reverse-proxy for Keycloak docker with custom base URL
but this does not seem to work (anymore?).
Ty for your time.
In Keycloak 18.x you can set http-relative-path argument, which contains the path relative to '/'.
CLI: --http-relative-path
Env: KC_HTTP_RELATIVE_PATH
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With