mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-06 10:50:31 -07:00
move keycloak_quarkus_proxy_headers into keycloak.conf
This commit is contained in:
parent
27717d7b4e
commit
3fbae4882e
2 changed files with 7 additions and 6 deletions
|
@ -54,9 +54,14 @@ cache-config-file=cache-ispn.xml
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if keycloak_quarkus_proxy_mode is defined and keycloak_quarkus_proxy_mode != "none" %}
|
{% if keycloak_quarkus_proxy_mode is defined and keycloak_quarkus_proxy_mode != "none" %}
|
||||||
# Proxy
|
# Deprecated Proxy configuration
|
||||||
proxy={{ keycloak_quarkus_proxy_mode }}
|
proxy={{ keycloak_quarkus_proxy_mode }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if keycloak_quarkus_proxy_headers is defined and keycloak_quarkus_proxy_headers != "none" %}
|
||||||
|
# Proxy
|
||||||
|
proxy-headers={{ keycloak_quarkus_proxy_headers }}
|
||||||
|
{% 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 }}
|
||||||
|
|
||||||
# Transaction
|
# Transaction
|
||||||
|
|
|
@ -7,12 +7,8 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
EnvironmentFile=-{{ keycloak_quarkus_sysconf_file }}
|
EnvironmentFile=-{{ keycloak_quarkus_sysconf_file }}
|
||||||
PIDFile={{ keycloak_quarkus_service_pidfile }}
|
PIDFile={{ keycloak_quarkus_service_pidfile }}
|
||||||
{% if keycloak_quarkus_start_dev and keycloak_quarkus_proxy_headers is defined %}
|
{% if keycloak_quarkus_start_dev %}
|
||||||
ExecStart={{ keycloak.home }}/bin/kc.sh start-dev --proxy-headers {{ keycloak_quarkus_proxy_headers }}
|
|
||||||
{% elif keycloak_quarkus_start_dev and keycloak_quarkus_proxy_headers is not defined %}
|
|
||||||
ExecStart={{ keycloak.home }}/bin/kc.sh start-dev
|
ExecStart={{ keycloak.home }}/bin/kc.sh start-dev
|
||||||
{% elif not keycloak_quarkus_start_dev and keycloak_quarkus_proxy_headers is defined %}
|
|
||||||
ExecStart={{ keycloak.home }}/bin/kc.sh start --optimized --proxy-headers {{ keycloak_quarkus_proxy_headers }}
|
|
||||||
{% else -%}
|
{% else -%}
|
||||||
ExecStart={{ keycloak.home }}/bin/kc.sh start --optimized
|
ExecStart={{ keycloak.home }}/bin/kc.sh start --optimized
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue