Files
tp/serv_nginx/keycloak/keycloak.conf
T
valitovgaziz c633d0dbe0 modified: serv_nginx/keycloak/keycloak.conf
modified:   serv_nginx/nginx/nginx-ssl.conf
change ssl add admin into ngnx and set keycloak configs
2025-10-21 05:43:44 +05:00

36 lines
746 B
Plaintext

# Database configuration
db=postgres
db-url-host=keycloak-db
db-url-port=5432
db-url-database=keycloak
db-username=keycloak
db-password=${KC_DB_PASSWORD}
# Admin credentials
admin-url=http://localhost:8080
admin-username=${KEYCLOAK_ADMIN}
admin-password=${KEYCLOAK_ADMIN_PASSWORD}
# HTTP configuration
http-enabled=true
http-port=8080
http-relative-path=/
# Hostname configuration - ВАЖНО!
hostname-strict=false
hostname-strict-https=false
hostname-url=https://yalarba.ru
hostname-admin-url=https://yalarba.ru
# Proxy settings - ВАЖНО для работы за nginx
proxy-headers=xforwarded
proxy=x_forwarded
# Health checks
health-enabled=true
# Features
features=token-exchange,admin-fine-grained-authz
# Logging
log-level=INFO