Update NAS and Traefik with proper middlewares array syntax

This commit is contained in:
Joey Hafner 2022-08-06 10:33:23 -07:00
parent e84819e913
commit aa103af03a
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,8 @@ http:
nas: nas:
rule: "Host(`nas.jafner.net`)" rule: "Host(`nas.jafner.net`)"
entryPoints: "websecure" entryPoints: "websecure"
middlewares: "lan-only@file" middlewares:
- "lan-only@file"
service: "nas@file" service: "nas@file"
tls: tls:
certResolver: "lets-encrypt" certResolver: "lets-encrypt"

View File

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