quarkus role: do not populate proxy to config if keycloak_quarkus_proxy_mode is undefined or set to 'none'

This commit is contained in:
Miles Sherman 2023-09-18 14:46:56 +00:00
parent 6c65fadf31
commit b72460e464

View file

@ -34,8 +34,10 @@ cache-config-file=cache-ispn.xml
cache-stack=tcp cache-stack=tcp
{% endif %} {% endif %}
{% if keycloak_quarkus_proxy_mode is defined and keycloak_quarkus_proxy_mode != "none" %}
# Proxy # Proxy
proxy={{ keycloak_quarkus_proxy_mode }} proxy={{ keycloak_quarkus_proxy_mode }}
{% endif %}
# Do not attach route to cookies and rely on the session affinity capabilities from reverse proxy # Do not attach route to cookies and rely on the session affinity capabilities from reverse proxy
#spi-sticky-session-encoder-infinispan-should-attach-route=false #spi-sticky-session-encoder-infinispan-should-attach-route=false