Set-OPS-Public/roles/serveur_keycloak/templates/keycloak.conf.j2

23 lines
806 B
Text
Raw Normal View History

# Gere par Set-OPS (role serveur_keycloak). Ne pas editer a la main.
db=postgres
db-url-host={{ serveur_keycloak_db_host }}
db-url-database={{ serveur_keycloak_entree.base }}
db-username={{ serveur_keycloak_entree.proprietaire }}
# Derriere serveur_nginx (TLS termine a l'edge).
hostname={{ serveur_keycloak_hostname }}
proxy-headers=xforwarded
http-enabled=true
{% if not serveur_keycloak_theme_cache | default(true) %}
# Lab : cache de themes desactive pour iterer le thème sans casse-cache navigateur.
spi-theme-static-max-age=-1
spi-theme-cache-themes=false
spi-theme-cache-templates=false
{% endif %}
{% if serveur_keycloak_ldap_federation %}
# Truststore (racine step_ca via le bundle systeme) pour valider LDAPS vers OpenLDAP.
truststore-paths={{ serveur_keycloak_truststore_path }}
{% endif %}