stable keycloak host, need set admin admin

This commit is contained in:
2025-07-07 06:30:03 +03:00
parent 81910ad805
commit 6aefe84008
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -122,11 +122,10 @@ services:
KC_DB_URL: jdbc:postgresql://kk_db:5432/keycloak
KC_DB_USERNAME: postgres
KC_DB_PASSWORD: postgres
KEYCLOAK_FRONTEND_URL: https://yalarba.ru/auth
PROXY_ADDRESS_FORWARDING: "true"
KEYCLOAK_LOGLEVEL: INFO
KEYCLOAK_HTTPS_PORT: 8443
KEYCLOAK_HTTP_PORT: 8080
KEYCLOAK_LOGLEVEL: INFO
KEYCLOAK_HTTP_PROXY: true
KEYCLOAK_HTTPS_REDIRECT: false
KC_HOSTNAME_STRICT: "false"
+1 -1
View File
@@ -24,7 +24,7 @@ server {
}
location /auth {
proxy_pass http://keycloak:8080/;
proxy_pass http://0.0.0.0:8080/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;