Add new security headers to calibre-web-rpg and Authentik

This commit is contained in:
Joey Hafner 2022-07-06 17:36:51 -07:00
parent cb28ba5218
commit 206c515a70
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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