This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/website/docs/providers/proxy/_traefik_standalone.md
Jens Langhammer 577b7ee515 providers/proxy: include auth headers
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-12-20 21:37:22 +01:00

532 B

http:
  middlewares:
    authentik:
      forwardAuth:
        address: http://outpost.company:9000/akprox/auth/traefik
        trustForwardHeader: true
        authResponseHeadersRegex: ^(Auth|Remote|X).*$
  routers:
    default-router:
      rule: "Host(`app.company`)"
      middlewares:
        - name: authentik
      priority: 10
      services: # Unchanged
    default-router-auth:
      match: "Host(`app.company`) && PathPrefix(`/akprox/`)"
      priority: 15
      services: http://outpost.company:9000/akprox