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.
2021-11-12 21:57:19 +00:00
|
|
|
```yaml
|
|
|
|
http:
|
|
|
|
middlewares:
|
|
|
|
authentik:
|
|
|
|
forwardAuth:
|
2022-02-16 09:19:33 +00:00
|
|
|
address: http://outpost.company:9000/outpost.goauthentik.io/auth/traefik
|
2021-11-12 21:57:19 +00:00
|
|
|
trustForwardHeader: true
|
2021-12-22 14:30:01 +00:00
|
|
|
authResponseHeaders:
|
|
|
|
- X-authentik-username
|
|
|
|
- X-authentik-groups
|
|
|
|
- X-authentik-email
|
|
|
|
- X-authentik-name
|
|
|
|
- X-authentik-uid
|
|
|
|
- X-authentik-jwt
|
|
|
|
- X-authentik-meta-jwks
|
|
|
|
- X-authentik-meta-outpost
|
|
|
|
- X-authentik-meta-provider
|
|
|
|
- X-authentik-meta-app
|
|
|
|
- X-authentik-meta-version
|
2021-11-12 21:57:19 +00:00
|
|
|
routers:
|
|
|
|
default-router:
|
2021-11-26 12:29:38 +00:00
|
|
|
rule: "Host(`app.company`)"
|
2021-11-12 21:57:19 +00:00
|
|
|
middlewares:
|
|
|
|
- name: authentik
|
|
|
|
priority: 10
|
|
|
|
services: # Unchanged
|
2021-11-26 12:29:38 +00:00
|
|
|
default-router-auth:
|
2022-02-16 09:19:33 +00:00
|
|
|
match: "Host(`app.company`) && PathPrefix(`/outpost.goauthentik.io/`)"
|
2021-11-12 21:57:19 +00:00
|
|
|
priority: 15
|
2022-02-16 09:19:33 +00:00
|
|
|
services: http://outpost.company:9000/outpost.goauthentik.io
|
2021-11-12 21:57:19 +00:00
|
|
|
```
|