update
This commit is contained in:
parent
c50569d73e
commit
a624163120
27 changed files with 215 additions and 6 deletions
|
|
@ -1,5 +1,8 @@
|
|||
set $hsts_header_value "";
|
||||
|
||||
# Keep the same HTTP/HTTPS guard as hsts.conf. The only difference is the
|
||||
# preload token, which should be enabled only after the whole domain tree is
|
||||
# known to be HTTPS-only.
|
||||
if ($scheme = "https") {
|
||||
set $hsts_header_value "max-age=31536000; includeSubDomains; preload";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue