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:
|
2021-11-26 12:29:38 +00:00
|
|
|
address: http://outpost.company:9000/akprox/auth/traefik
|
2021-11-12 21:57:19 +00:00
|
|
|
trustForwardHeader: true
|
2021-12-01 19:19:35 +00:00
|
|
|
authResponseHeadersRegex: ^.*$
|
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:
|
|
|
|
match: "Host(`app.company`) && PathPrefix(`/akprox/`)"
|
2021-11-12 21:57:19 +00:00
|
|
|
priority: 15
|
2021-11-30 10:20:05 +00:00
|
|
|
services: http://outpost.company:9000/akprox
|
2021-11-12 21:57:19 +00:00
|
|
|
```
|