Ensure that value for keycloak_quarkus_hostname_strict_https is boolean, otherwise ignore it

This commit is contained in:
Deven Phillips 2024-04-17 16:57:52 -04:00
parent 3e28b3f4f7
commit 47e6644fdd

View file

@ -10,8 +10,11 @@ db-password={{ keycloak_quarkus_db_pass }}
{% endif %}
{% endif %}
{% if keycloak_quarkus_hostname_strict_https -%}
hostname-strict-https={{ keycloak_quarkus_hostname_strict_https }}
{% if keycloak_quarkus_hostname_strict_https and keycloak_quarkus_hostname_strict_https is sameas true -%}
hostname-strict-https=true
{% endif -%}
{% if keycloak_quarkus_hostname_strict_https and keycloak_quarkus_hostname_strict_https is sameas false -%}
hostname-strict-https=false
{% endif -%}
{% if keycloak.config_key_store_enabled %}