This commit is contained in:
Edi Septriyanto
2021-07-09 02:36:59 +07:00
parent 91b13dec83
commit 3cb5358a4d

View File

@@ -55,4 +55,4 @@ resolver_timeout 5s;
# This header tells browsers to cache the certificate for a year and to connect exclusively via HTTPS.
#add_header Strict-Transport-Security "max-age=31536000;" always;
# This version tells browsers to treat all subdomains the same as this site and to load exclusively over HTTPS
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload;" preload;
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload;";