update
This commit is contained in:
parent
c50569d73e
commit
a624163120
27 changed files with 215 additions and 6 deletions
|
|
@ -1,5 +1,7 @@
|
|||
set $hsts_header_value "";
|
||||
|
||||
# Only emit HSTS on HTTPS responses. This lets a single server block listen on
|
||||
# both 80 and 443 without sending a meaningless STS header over plain HTTP.
|
||||
if ($scheme = "https") {
|
||||
set $hsts_header_value "max-age=31536000; includeSubDomains";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue