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

View File

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