Fix #226 - minor proxy-header enhancement

This commit is contained in:
Helmut Wolf 2024-05-14 10:41:46 +02:00
parent 1519d46f0e
commit 6f2ed4d53b

View file

@ -69,13 +69,12 @@ cache-config-file=cache-ispn.xml
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if keycloak_quarkus_proxy_mode is defined and keycloak_quarkus_proxy_mode != "none" %}
# Deprecated Proxy configuration
proxy={{ keycloak_quarkus_proxy_mode }}
{% endif %}
{% if keycloak_quarkus_proxy_headers is defined and keycloak_quarkus_proxy_headers != "none" %} {% if keycloak_quarkus_proxy_headers is defined and keycloak_quarkus_proxy_headers != "none" %}
# Proxy # Proxy
proxy-headers={{ keycloak_quarkus_proxy_headers }} proxy-headers={{ keycloak_quarkus_proxy_headers }}
{% elif keycloak_quarkus_proxy_mode is defined and keycloak_quarkus_proxy_mode != "none" %}
# Deprecated Proxy configuration
proxy={{ keycloak_quarkus_proxy_mode }}
{% endif %} {% endif %}
spi-sticky-session-encoder-infinispan-should-attach-route={{ keycloak_quarkus_spi_sticky_session_encoder_infinispan_should_attach_route | d(true) | lower }} spi-sticky-session-encoder-infinispan-should-attach-route={{ keycloak_quarkus_spi_sticky_session_encoder_infinispan_should_attach_route | d(true) | lower }}