Fix middleware application

This commit is contained in:
Joey Hafner 2022-10-17 11:21:08 -07:00
parent a017c0ec70
commit f62f7dbae4
2 changed files with 2 additions and 4 deletions

View File

@ -3,8 +3,8 @@ http:
api:
rule: "Host(`traefik.jafner.net`)"
entryPoints: "websecure"
#middlewares:
# - "authentik@file"
middlewares:
- "traefik-forward-auth@file"
service: "api@internal"
tls:
certResolver: "lets-encrypt"

View File

@ -24,8 +24,6 @@ services:
- ./traefik.yaml:/traefik.yaml
- ./config:/config
- $DOCKER_DATA/acme.json:/acme.json
labels:
- traefik.http.routers.api.middlewares=traefik-forward-auth@file
networks:
web: