From aa103af03a4e2610c7cb526ef4e40515391f463a Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sat, 6 Aug 2022 10:33:23 -0700 Subject: [PATCH] Update NAS and Traefik with proper middlewares array syntax --- server/config/traefik/config/nas.yaml | 3 ++- server/config/traefik/config/traefik_api.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/server/config/traefik/config/nas.yaml b/server/config/traefik/config/nas.yaml index 94c13d1..ecf4a47 100644 --- a/server/config/traefik/config/nas.yaml +++ b/server/config/traefik/config/nas.yaml @@ -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" diff --git a/server/config/traefik/config/traefik_api.yaml b/server/config/traefik/config/traefik_api.yaml index 8f2b1ee..6481be2 100644 --- a/server/config/traefik/config/traefik_api.yaml +++ b/server/config/traefik/config/traefik_api.yaml @@ -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" \ No newline at end of file