This commit is contained in:
parent
ddefcdb550
commit
b9ca14a4e1
@ -37,3 +37,13 @@ http:
|
||||
replacePathRegex:
|
||||
regex: "^/metrics$"
|
||||
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
|
||||
scheme: https
|
||||
permanent: true
|
||||
middlewares:
|
||||
- "hsts@file"
|
||||
metrics:
|
||||
address: ":9091"
|
||||
http:
|
||||
@ -28,6 +30,8 @@ entryPoints:
|
||||
websecure:
|
||||
address: ":443"
|
||||
http:
|
||||
middlewares:
|
||||
- "hsts@file"
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user