Skip to content

Commit

Permalink
fix: specify host for id-management login
Browse files Browse the repository at this point in the history
Otherwise traefik will match the route with the one specified in datashield-compose.yml
  • Loading branch information
torbrenner committed Aug 19, 2024
1 parent 05fa323 commit 6228cb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ccp/modules/id-management-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.services.traefik-forward-auth.loadbalancer.server.port=4180"
- "traefik.http.routers.oauth2.rule=PathPrefix(`/oauth2-idm/`)"
- "traefik.http.routers.oauth2.tls=true"
- "traefik.http.routers.traefik-forward-auth.rule=Host(`${HOST}`) && PathPrefix(`/oauth2-idm`)"
- "traefik.http.routers.traefik-forward-auth.tls=true"
- "traefik.http.middlewares.traefik-forward-auth-idm.forwardauth.address=http://traefik-forward-auth:4180"
- "traefik.http.middlewares.traefik-forward-auth-idm.forwardauth.authResponseHeaders=Authorization"
depends_on:
Expand Down

0 comments on commit 6228cb3

Please sign in to comment.