Test security headers

This commit is contained in:
Joey Hafner 2022-07-11 21:44:37 -07:00
parent a7c8ebd55d
commit 0b518aa983
2 changed files with 1 additions and 9 deletions

View File

@ -64,7 +64,7 @@ services:
labels:
- traefik.http.routers.calibre-dev.rule=Host(`dev.calibre.jafner.net`)
- traefik.http.routers.calibre-dev.tls.certresolver=lets-encrypt
- traefik.http.routers.calibre-dev.middlewares=testSchemeHeaders@file
- traefik.http.routers.calibre-dev.middlewares=securityheaders@file
networks:
- web

View File

@ -44,11 +44,3 @@ http:
stsSeconds: 63072000
stsPreload: true
testSchemeHeaders:
headers:
#customResponseHeaders:
# X-Scheme: https
customRequestHeaders:
X-Scheme: https
#hostsProxyHeaders:
# - "X-Scheme"