Skip to content

Commit

Permalink
Fix ansible-middleware#226 - minor proxy-header enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
hwo-wd committed May 14, 2024
1 parent 599ce01 commit 52c221a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions roles/keycloak_quarkus/templates/keycloak.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,12 @@ cache-config-file=cache-ispn.xml
{% 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" %}
# Proxy
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 %}

spi-sticky-session-encoder-infinispan-should-attach-route={{ keycloak_quarkus_spi_sticky_session_encoder_infinispan_should_attach_route | d(true) | lower }}
Expand Down

0 comments on commit 52c221a

Please sign in to comment.