2
0
Fork 0

Fixed traefik calling wrong endpoint for auth

pull/6/head
UnicodingUnicorn 2019-03-17 08:14:39 +08:00
parent 4afe9fcda5
commit 9b08ad8430
2 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,7 @@ services:
- publish
- subscribe
- transcription
- auth
ports:
- "80:80"
- "443:443"
@ -106,7 +107,7 @@ services:
tty: true
restart: unless-stopped
environment:
- LISTEN=127.0.0.1:10205
- LISTEN=0.0.0.0:10205
- SECRET=secret
ports:
- "10205:10205" # Remove this for production

View File

@ -5,7 +5,7 @@ dashboard = true
[entryPoints.http]
address = ":80"
[entryPoints.http.auth.forward]
address = "http://auth:10205"
address = "http://auth:10205/auth"
trustForwardHeader = true
authResponseHeaders = [ "X-User-Claim" ]
[entryPoints.login]