Fix middleware application
This commit is contained in:
parent
a017c0ec70
commit
f62f7dbae4
@ -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"
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user