Files
tp/serv_nginx/keycloak/keycloak.conf
T
valitovgaziz 74382de88d modified: serv_nginx/keycloak/keycloak.conf
modified:   serv_nginx/nginx/nginx-ssl.conf
change configs for keycloak to auth only domen path and change nginx
configs for this
2025-10-21 05:58:27 +05:00

42 lines
816 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-username=${KEYCLOAK_ADMIN}
admin-password=${KEYCLOAK_ADMIN_PASSWORD}
# HTTP configuration
http-enabled=true
http-port=8080
http-relative-path=/auth
# Hostname configuration
hostname-url=https://yalarba.ru/auth
hostname-strict=true
hostname-strict-https=true
hostname-strict-backchannel=false
hostname-path=/auth
# Proxy configuration
proxy=x_forwarded
proxy-address-forwarding=true
# CORS settings
http-cors=true
http-cors-max-age=3600
http-cors-methods=GET,POST,PUT,DELETE,OPTIONS,PATCH
http-cors-headers=*
# Health checks
health-enabled=true
# Features
features=token-exchange,admin-fine-grained-authz
# Logging
log-level=INFO