This commit is contained in:
Dallas Lu 2026-06-05 12:40:41 +08:00
parent c526d8ae0d
commit 5d83656f2f
No known key found for this signature in database
3 changed files with 12 additions and 2 deletions

View file

@ -4,4 +4,4 @@ if ($scheme = "https") {
set $hsts_header_value "max-age=31536000; includeSubDomains; preload";
}
add_header Strict-Transport-Security $hsts_header_value;
add_header Strict-Transport-Security $hsts_header_value always;