|
|
@ -1,14 +1,14 @@ |
|
|
http: |
|
|
http: |
|
|
routers: |
|
|
routers: |
|
|
keycloak-http: |
|
|
keycloak-http: |
|
|
rule: "Host(`lb.itix.lab`)" |
|
|
rule: "Host(`{{ inventory_hostname }}`)" |
|
|
entryPoints: |
|
|
entryPoints: |
|
|
- http |
|
|
- http |
|
|
- https |
|
|
- https |
|
|
middlewares: |
|
|
middlewares: |
|
|
service: "keycloak" |
|
|
service: "keycloak" |
|
|
keycloak-https: |
|
|
keycloak-https: |
|
|
rule: "Host(`lb.itix.lab`)" |
|
|
rule: "Host(`{{ inventory_hostname }}`)" |
|
|
entryPoints: |
|
|
entryPoints: |
|
|
- http |
|
|
- http |
|
|
- https |
|
|
- https |
|
|
@ -23,9 +23,9 @@ http: |
|
|
interval: "10s" |
|
|
interval: "10s" |
|
|
timeout: "3s" |
|
|
timeout: "3s" |
|
|
servers: |
|
|
servers: |
|
|
- url: "http://sso1.itix.lab:8080" |
|
|
{% for host in groups.keycloak %} |
|
|
- url: "http://sso2.itix.lab:8080" |
|
|
- url: "http://{{ host }}:8080" |
|
|
- url: "http://sso3.itix.lab:8080" |
|
|
{% endfor %} |
|
|
# Sticky session is required for users to login |
|
|
# Sticky session is required for users to login |
|
|
sticky: |
|
|
sticky: |
|
|
cookie: {} |
|
|
cookie: {} |
|
|
|