replace nforwardauth with authelia #231
2 changed files with 3 additions and 4 deletions
|
@ -45,10 +45,9 @@ storage:
|
||||||
|
|
||||||
notifier:
|
notifier:
|
||||||
smtp:
|
smtp:
|
||||||
#username: ""
|
|
||||||
#password: ""
|
|
||||||
address: postfix:25
|
address: postfix:25
|
||||||
sender: no-reply-authelia@mgrote.net
|
sender: no-reply-authelia@mgrote.net
|
||||||
|
disable_require_tls: true
|
||||||
|
|
||||||
#mg@docker10 /docker/wiki
|
#mg@docker10 /docker/wiki
|
||||||
#> docker run --rm -it authelia/authelia:4 authelia crypto hash generate
|
#> docker run --rm -it authelia/authelia:4 authelia crypto hash generate
|
||||||
|
|
|
@ -40,11 +40,11 @@ services:
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
traefik.http.routers.authelia.rule: Host(`auth.mgrote.net`)
|
traefik.http.routers.authelia.rule: Host(`auth.mgrote.net`)
|
||||||
traefik.http.services.authelia.loadbalancer.server.port: 80
|
traefik.http.services.authelia.loadbalancer.server.port: 9001
|
||||||
traefik.http.routers.authelia.tls: true
|
traefik.http.routers.authelia.tls: true
|
||||||
traefik.http.routers.authelia.tls.certresolver: resolver_letsencrypt
|
traefik.http.routers.authelia.tls.certresolver: resolver_letsencrypt
|
||||||
traefik.http.routers.authelia.entrypoints: entry_https
|
traefik.http.routers.authelia.entrypoints: entry_https
|
||||||
traefik.http.middlewares.authelia.forwardauth.address: http://authelia:9091/api/verify?rd=https://auth.mgrote.net'
|
traefik.http.middlewares.authelia.forwardauth.address: http://authelia:9091/api/verify?rd=https://auth.mgrote.net
|
||||||
traefik.http.middlewares.authelia.forwardauth.trustForwardHeader: true
|
traefik.http.middlewares.authelia.forwardauth.trustForwardHeader: true
|
||||||
traefik.http.middlewares.authelia.forwardauth.authResponseHeaders: Remote-User,Remote-Groups,Remote-Name,Remote-Email
|
traefik.http.middlewares.authelia.forwardauth.authResponseHeaders: Remote-User,Remote-Groups,Remote-Name,Remote-Email
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Reference in a new issue