This commit is contained in:
parent
ddefcdb550
commit
b9ca14a4e1
@ -37,3 +37,13 @@ http:
|
|||||||
replacePathRegex:
|
replacePathRegex:
|
||||||
regex: "^/metrics$"
|
regex: "^/metrics$"
|
||||||
replacement: "/"
|
replacement: "/"
|
||||||
|
hsts:
|
||||||
|
headers:
|
||||||
|
frameDeny: true
|
||||||
|
contentTypeNosniff: true
|
||||||
|
browserXssFilter: true
|
||||||
|
forceSTSHeader: true
|
||||||
|
sslRedirect: true
|
||||||
|
stsPreload: true
|
||||||
|
stsSeconds: 315360000
|
||||||
|
stsIncludeSubdomains: true
|
||||||
|
@ -20,6 +20,8 @@ entryPoints:
|
|||||||
to: websecure
|
to: websecure
|
||||||
scheme: https
|
scheme: https
|
||||||
permanent: true
|
permanent: true
|
||||||
|
middlewares:
|
||||||
|
- "hsts@file"
|
||||||
metrics:
|
metrics:
|
||||||
address: ":9091"
|
address: ":9091"
|
||||||
http:
|
http:
|
||||||
@ -28,6 +30,8 @@ entryPoints:
|
|||||||
websecure:
|
websecure:
|
||||||
address: ":443"
|
address: ":443"
|
||||||
http:
|
http:
|
||||||
|
middlewares:
|
||||||
|
- "hsts@file"
|
||||||
tls:
|
tls:
|
||||||
certResolver: letsencrypt
|
certResolver: letsencrypt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user