Repository navigation
How to configure Keycloak to accept multiple hostnames with v2 config #36397
Answered
by
shawkins
arjopoldervaart
asked this question in
Q&A
|
Hi, I'm new to this forum, so forgive me if I missed any documentation or discussion on this. We have Keycloak running in K8S with multiple customer realms and each customer connects via its own DNS name, so something like: With the v1 config we simply specified our Helm chart with startup options for Keycloak:
But I can't see a way to do this with the v2 options. Am I missing something? How would you do that with the v2 config setup? Regards, Arjo |
Answered by
shawkins
Jan 13, 2025
Replies: 1 comment 5 replies
|
trying to start keycloak 25.0.4 with the hostname:v1 feature and our original settings (for keycloak 24) allows us to start but we cannot access the console as it tries to use http instead of https. this used to work.
|
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using an edge / TLS termination proxy, you will also need to set proxy-headers to either xforwarded or forwarded - depending upon what is in use by the proxy. That way Keycloak will know to glean the protocol from there, rather than the request which is just HTTP.