From 206c515a7066499d66d0db94b068849b7ccf4265 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 6 Jul 2022 17:36:51 -0700 Subject: [PATCH] Add new security headers to calibre-web-rpg and Authentik --- homelab/server/config/authentik/docker-compose.yml | 1 + homelab/server/config/calibre-web/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/homelab/server/config/authentik/docker-compose.yml b/homelab/server/config/authentik/docker-compose.yml index 5f7b85d5..92ff9810 100644 --- a/homelab/server/config/authentik/docker-compose.yml +++ b/homelab/server/config/authentik/docker-compose.yml @@ -61,6 +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.services.authentik.loadbalancer.server.port: 9000 worker: diff --git a/homelab/server/config/calibre-web/docker-compose.yml b/homelab/server/config/calibre-web/docker-compose.yml index 72bb075c..5cdeac89 100644 --- a/homelab/server/config/calibre-web/docker-compose.yml +++ b/homelab/server/config/calibre-web/docker-compose.yml @@ -13,7 +13,7 @@ services: labels: - traefik.http.routers.calibre-rpg.rule=Host(`rpg.calibre.jafner.net`) - traefik.http.routers.calibre-rpg.tls.certresolver=lets-encrypt - - traefik.http.routers.calibre-rpg.middlewares=authentik@file + - traefik.http.routers.calibre-rpg.middlewares=authentik@file,security-headers@file networks: - web