Add testSchemeHeaders for passing X-Scheme: https
This commit is contained in:
parent
0a40c254a4
commit
f3268d41de
@ -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=securityheaders@file
|
||||
- traefik.http.routers.calibre-dev.middlewares=securityheaders@file,testSchemeHeaders@file
|
||||
networks:
|
||||
- web
|
||||
|
||||
|
@ -42,3 +42,7 @@ http:
|
||||
stsIncludeSubdomains: true
|
||||
stsSeconds: 63072000
|
||||
stsPreload: true
|
||||
testSchemeHeaders:
|
||||
headers:
|
||||
customResponseHeaders:
|
||||
X-Scheme: https
|
||||
|
Loading…
Reference in New Issue
Block a user