diff --git a/stack.production.yml b/stack.production.yml index 0a2fa6a..62f39ff 100644 --- a/stack.production.yml +++ b/stack.production.yml @@ -62,15 +62,15 @@ services: # - node.labels.mac-rack == true labels: - 'traefik.enable=true' - - 'traefik.http.routers.authelia.rule=Host(`auth.example.com`)' - - 'traefik.http.routers.authelia.entryPoints=https' - - 'traefik.http.routers.authelia.tls=true' - - 'traefik.http.middlewares.authelia.forwardAuth.address=http://authelia_authelia:9091/api/authz/forward-auth' + - 'traefik.http.routers.authelia_authelia.rule=Host(`login.nixc.us`)' + - 'traefik.http.routers.authelia_authelia.entryPoints=websecure' + - 'traefik.http.routers.authelia_authelia.tls=true' + - 'traefik.http.middlewares.authelia_authelia.forwardAuth.address=http://authelia_authelia:9091/api/authz/forward-auth' ## The following commented line is for configuring the Authelia URL in the proxy. We strongly suggest this is ## configured in the Session Cookies section of the Authelia configuration. # - 'traefik.http.middlewares.authelia.forwardAuth.address=http://authelia:9091/api/authz/forward-auth?authelia_url=https%3A%2F%2Fauth.example.com%2F' - - 'traefik.http.middlewares.authelia.forwardAuth.trustForwardHeader=true' - - 'traefik.http.middlewares.authelia.forwardAuth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Email,Remote-Name' + - 'traefik.http.middlewares.authelia_authelia.forwardAuth.trustForwardHeader=true' + - 'traefik.http.middlewares.authelia_authelia.forwardAuth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Email,Remote-Name' # - "us.nixc.autodeploy=true" # - 'traefik.enable=true' # - 'traefik.http.routers.authelia_authelia.tls=true'