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:
rule: "Host(`nas.jafner.net`)"
entryPoints: "websecure"
middlewares: "lan-only@file"
middlewares:
- "lan-only@file"
service: "nas@file"
tls:
certResolver: "lets-encrypt"

View File

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