From 775cf7089d8ff877f8d39c339aad046b3a9dde0c Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 6 Jul 2022 17:40:41 -0700 Subject: [PATCH] Fix typos --- .../config/authentik/docker-compose.yml | 2 +- .../config/traefik/config/middlewares.yaml | 34 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/homelab/server/config/authentik/docker-compose.yml b/homelab/server/config/authentik/docker-compose.yml index 92ff9810..e03f5fb9 100644 --- a/homelab/server/config/authentik/docker-compose.yml +++ b/homelab/server/config/authentik/docker-compose.yml @@ -61,7 +61,7 @@ services: labels: traefik.http.routers.authentik.rule: Host(`authentik.jafner.net`) traefik.http.routers.authentik.tls.certresolver: lets-encrypt - traefik.http.routers.authentik.middlewares: security-headers + traefik.http.routers.authentik.middlewares: security-headers@file traefik.http.services.authentik.loadbalancer.server.port: 9000 worker: diff --git a/homelab/server/config/traefik/config/middlewares.yaml b/homelab/server/config/traefik/config/middlewares.yaml index 3b847edb..6dfe6f95 100644 --- a/homelab/server/config/traefik/config/middlewares.yaml +++ b/homelab/server/config/traefik/config/middlewares.yaml @@ -24,20 +24,20 @@ http: - X-authentik-meta-app - X-authentik-meta-version security-headers: - headers: - customResponseHeaders: - X-Robots-Tag: "none,noarchive,nosnippet,notranslate,noimageindex" - server: "" - sslProxyHeaders: - X-Forwarded-Proto: https - referrerPolicy: "same-origin" - hostsProxyHeaders: - - "X-Forwarded-Host" - customRequestHeaders: - X-Forwarded-Proto: "https" - contentTypeNosniff: true - browserXssFilter: true - forceSTSHeader: true - stsIncludeSubdomains: true - stsSeconds: 63072000 - stsPreload: true + headers: + customResponseHeaders: + X-Robots-Tag: "none,noarchive,nosnippet,notranslate,noimageindex" + server: "" + sslProxyHeaders: + X-Forwarded-Proto: https + referrerPolicy: "same-origin" + hostsProxyHeaders: + - "X-Forwarded-Host" + customRequestHeaders: + X-Forwarded-Proto: "https" + contentTypeNosniff: true + browserXssFilter: true + forceSTSHeader: true + stsIncludeSubdomains: true + stsSeconds: 63072000 + stsPreload: true