Test security headers
This commit is contained in:
parent
a7c8ebd55d
commit
0b518aa983
@ -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
|
||||
|
||||
|
@ -44,11 +44,3 @@ http:
|
||||
stsSeconds: 63072000
|
||||
stsPreload: true
|
||||
|
||||
testSchemeHeaders:
|
||||
headers:
|
||||
#customResponseHeaders:
|
||||
# X-Scheme: https
|
||||
customRequestHeaders:
|
||||
X-Scheme: https
|
||||
#hostsProxyHeaders:
|
||||
# - "X-Scheme"
|
||||
|
Loading…
Reference in New Issue
Block a user