tweaking parameters to allow connection on ninegate

This commit is contained in:
Benjamin Bohard 2024-09-02 14:42:21 +02:00
parent 96d79adb77
commit a8226e2942
3 changed files with 3 additions and 6 deletions

4
env/.env vendored
View File

@ -26,7 +26,7 @@ MASTERIDENTITY=SQL
# AUTHENTIFICATION
# SQL or CAS (todo LDAP or OPENID)
MODE_AUTH=SQL
MODE_AUTH=CAS
# NINEAPACHE
# Il sert de reverse proxy
@ -108,7 +108,7 @@ CAS_ACTIVATE=${KEYCLOAK_ACTIVATE}
CAS_USER=${ADMIN_USER}-keycloak
CAS_PASSWORD=${ADMIN_PASSWORD}-keycloak
CAS_HOST=${WEB_URL}
CAS_PORT=8999
CAS_PORT=443
CAS_PATH=/auth/realms/nine/protocol/cas
CAS_URL=${PROTOCOLE}://${CAS_HOST}:${CAS_PORT}

View File

@ -9,9 +9,6 @@
env_file: ./services/40-keycloak/env/.env.merge
networks:
- nine-network
ports:
- 8999:8999
- 8443:8443
volumes:
- ./services/40-keycloak/volume/realm:/opt/keycloak/data/import
- ./services/40-keycloak/volume/nine:/nine

View File

@ -12,7 +12,7 @@ KC_DB_PASSWORD=${MARIADB_PASSWORD}
KC_HTTPS_CERTIFICATE_FILE=/nine/server.crt.pem
KC_HTTPS_CERTIFICATE_KEY_FILE=/nine/server.key.pem
KC_HOSTNAME_PATH=/auth
#KC_HOSTNAME=nine.local
KC_HOSTNAME=nine.local
KC_PROXY_ADDRESS_FORWARDING=true
KC_PROXY_HEADERS=xforwarded