Skip to content

Instantly share code, notes, and snippets.

View hakimnorizman-work's full-sized avatar

Muhammad Nur Hakim Bin Norizman hakimnorizman-work

  • Alteraxis Sdn Bhd, MNHTechnology Global
View GitHub Profile
@dasniko
dasniko / _keycloak-cluster-config.md
Last active July 10, 2024 01:55
How to configure a Keycloak cluster properly (Quarkus edition)

Keycloak Cluster Configuration (How to)

This is a short and simple example on how to build a proper Keycloak cluster, using DNS_PING as discovery protocol and an NGINX server as reverse proxy.

If you prefer to use JDBC_PING, see @xgp's example gist here: https://gist.github.com/xgp/768eea11f92806b9c83f95902f7f8f80


Please see also my video about Keycloak Clustering: http://www.youtube.com/watch?v=P96VQkBBNxU
NOTE: The video covers JDBC_PING protocol and uses the legacy Keycloak Wildfly distribution!