Switch middleware name from security-headers to securityheaders

This commit is contained in:
Joey Hafner 2022-07-06 17:46:52 -07:00
parent 775cf7089d
commit a86f0fde20
3 changed files with 3 additions and 3 deletions

View File

@ -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@file
traefik.http.routers.authentik.middlewares: securityheaders@file
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,security-headers@file
- traefik.http.routers.calibre-rpg.middlewares=authentik@file,securityheaders@file
networks:
- web

View File

@ -23,7 +23,7 @@ http:
- X-authentik-meta-provider
- X-authentik-meta-app
- X-authentik-meta-version
security-headers:
securityheaders:
headers:
customResponseHeaders:
X-Robots-Tag: "none,noarchive,nosnippet,notranslate,noimageindex"