Skip to content

Commit 82f96fe

Browse files
add proxy-headers
1 parent 48e4ebd commit 82f96fe

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

templates/compose/keycloak-with-postgres.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ services:
2121
- KC_HOSTNAME=${SERVICE_FQDN_KEYCLOAK_8080}
2222
- KC_HTTP_ENABLED=true
2323
- KC_HEALTH_ENABLED=true
24+
- KC_PROXY_HEADERS=xforwarded
2425
volumes:
2526
- keycloak-data:/opt/keycloak/data
2627
depends_on:

templates/compose/keycloak.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ services:
1616
- KC_HOSTNAME=${SERVICE_FQDN_KEYCLOAK_8080}
1717
- KC_HTTP_ENABLED=true
1818
- KC_HEALTH_ENABLED=true
19+
- KC_PROXY_HEADERS=xforwarded
1920
volumes:
2021
- keycloak-data:/opt/keycloak/data
2122
healthcheck:

0 commit comments

Comments
 (0)