mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-06 02:40:30 -07:00
Merge pull request #139 from guidograzioli/128_hostname_strict
keycloak_quarkus: add hostname-strict parameter
This commit is contained in:
commit
75899dfa77
4 changed files with 18 additions and 0 deletions
|
@ -50,6 +50,13 @@ Role Defaults
|
|||
|`keycloak_quarkus_trust_store_password`| Password for the trust store | `""` |
|
||||
|
||||
|
||||
* Hostname configuration
|
||||
|
||||
| Variable | Description | Default |
|
||||
|:---------|:------------|:--------|
|
||||
|`keycloak_quarkus_http_relative_path`| Set the path relative to / for serving resources. The path must start with a / | `/` |
|
||||
|`keycloak_quarkus_hostname_strict`| Disables dynamically resolving the hostname from request headers | `true` |
|
||||
|
||||
|
||||
* Database configuration
|
||||
|
||||
|
@ -118,6 +125,8 @@ Role Variables
|
|||
| Variable | Description | Required |
|
||||
|:---------|:------------|----------|
|
||||
|`keycloak_quarkus_admin_pass`| Password of console admin account | `yes` |
|
||||
|`keycloak_quarkus_frontend_url`| Base URL for frontend URLs, including scheme, host, port and path | `no` |
|
||||
|`keycloak_quarkus_admin_url`| Base URL for accessing the administration console, including scheme, host, port and path | `no` |
|
||||
|
||||
|
||||
License
|
||||
|
|
|
@ -63,6 +63,10 @@ keycloak_quarkus_admin_url:
|
|||
### (set to `/auth` for retrocompatibility with pre-quarkus releases)
|
||||
keycloak_quarkus_http_relative_path: /
|
||||
|
||||
# Disables dynamically resolving the hostname from request headers.
|
||||
# Should always be set to true in production, unless proxy verifies the Host header.
|
||||
keycloak_quarkus_hostname_strict: true
|
||||
|
||||
# proxy address forwarding mode if the server is behind a reverse proxy. [none, edge, reencrypt, passthrough]
|
||||
keycloak_quarkus_proxy_mode: edge
|
||||
|
||||
|
|
|
@ -288,3 +288,7 @@ argument_specs:
|
|||
default: true
|
||||
type: "bool"
|
||||
description: "Enable or disable XA transactions which may not be supported by some DBMS"
|
||||
keycloak_quarkus_hostname_strict:
|
||||
default: true
|
||||
type: "bool"
|
||||
description: "Disables dynamically resolving the hostname from request headers. Should always be set to true in production, unless proxy verifies the Host header."
|
||||
|
|
|
@ -41,6 +41,7 @@ hostname-port={{ keycloak_quarkus_port }}
|
|||
hostname-path={{ keycloak_quarkus_path }}
|
||||
{% endif %}
|
||||
hostname-admin-url={{ keycloak_quarkus_admin_url }}
|
||||
hostname-strict={{ keycloak_quarkus_hostname_strict | lower }}
|
||||
|
||||
# Cluster
|
||||
{% if keycloak_quarkus_ha_enabled %}
|
||||
|
|
Loading…
Add table
Reference in a new issue