Switch middleware name from security-headers to securityheaders
This commit is contained in:
parent
775cf7089d
commit
a86f0fde20
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user