Skip to content

Commit

Permalink
chore: remove deprecated keycloak proxy option
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rocheleau committed Oct 29, 2024
1 parent 46821eb commit dc4fb34
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions etc/bento_post_config.bash
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ if [[ "$BENTO_GATEWAY_USE_TLS" == 'true' || "$BENTO_GATEWAY_USE_TLS" == '1' ]];
KC_HTTP_ENABLED='false'
KC_HTTPS_CERTIFICATE_FILE=/run/secrets/keycloak-cert-file
KC_HTTPS_CERTIFICATE_KEY_FILE=/run/secrets/keycloak-cert-key-file
KC_PROXY='passthrough'
else
# Disable TLS in keycloak
KC_HOSTNAME=https://${BENTOV2_AUTH_DOMAIN} # full URL with HTTPS when KC_HTTP_ENABLED=true
KC_HTTP_ENABLED='true' # Required for TLS termination at the proxy
KC_PROXY='edge'
KC_PROXY_HEADERS=xforwarded # xforwarded (non-standard) instead of forwarded (RFC7239) for NGINX compatibility
fi
1 change: 0 additions & 1 deletion lib/auth/docker-compose.auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ services:
- KC_HTTP_ENABLED
- KC_HTTPS_CERTIFICATE_FILE
- KC_HTTPS_CERTIFICATE_KEY_FILE
- KC_PROXY
- KC_PROXY_HEADERS
mem_limit: ${BENTOV2_AUTH_MEM_LIM} # for mem_limit to work, make sure docker-compose is v2.4
cpus: ${BENTOV2_AUTH_CPUS}
Expand Down

0 comments on commit dc4fb34

Please sign in to comment.