mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-25 10:23:52 +00:00
Merge pull request #109 from msherman13/feature/msherman/quarkus_none_proxy
keycloak_quarkus: skip proxy config if `keycloak_quarkus_proxy_mode` is `none`
This commit is contained in:
@@ -49,7 +49,7 @@ keycloak_quarkus_db_enabled: "{{ True if keycloak_quarkus_ha_enabled else False
|
|||||||
keycloak_quarkus_http_relative_path: auth
|
keycloak_quarkus_http_relative_path: auth
|
||||||
keycloak_quarkus_frontend_url: http://localhost:8080/auth
|
keycloak_quarkus_frontend_url: http://localhost:8080/auth
|
||||||
|
|
||||||
# proxy address forwarding mode if the server is behind a reverse proxy. [edge, reencrypt, passthrough]
|
# proxy address forwarding mode if the server is behind a reverse proxy. [none, edge, reencrypt, passthrough]
|
||||||
keycloak_quarkus_proxy_mode: edge
|
keycloak_quarkus_proxy_mode: edge
|
||||||
|
|
||||||
# disable xa transactions
|
# disable xa transactions
|
||||||
|
|||||||
@@ -243,7 +243,7 @@ argument_specs:
|
|||||||
keycloak_quarkus_proxy_mode:
|
keycloak_quarkus_proxy_mode:
|
||||||
default: 'edge'
|
default: 'edge'
|
||||||
type: "str"
|
type: "str"
|
||||||
description: "The proxy address forwarding mode if the server is behind a reverse proxy"
|
description: "The proxy address forwarding mode if the server is behind a reverse proxy. Set to 'none' if not using a proxy"
|
||||||
keycloak_quarkus_start_dev:
|
keycloak_quarkus_start_dev:
|
||||||
default: False
|
default: False
|
||||||
type: "bool"
|
type: "bool"
|
||||||
|
|||||||
@@ -34,8 +34,10 @@ cache-config-file=cache-ispn.xml
|
|||||||
cache-stack=tcp
|
cache-stack=tcp
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if keycloak_quarkus_proxy_mode is defined and keycloak_quarkus_proxy_mode != "none" %}
|
||||||
# Proxy
|
# Proxy
|
||||||
proxy={{ keycloak_quarkus_proxy_mode }}
|
proxy={{ keycloak_quarkus_proxy_mode }}
|
||||||
|
{% endif %}
|
||||||
# Do not attach route to cookies and rely on the session affinity capabilities from reverse proxy
|
# Do not attach route to cookies and rely on the session affinity capabilities from reverse proxy
|
||||||
#spi-sticky-session-encoder-infinispan-should-attach-route=false
|
#spi-sticky-session-encoder-infinispan-should-attach-route=false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user