Force HTTP Strict-Transport-Security
-
Hi there. First of all I apologize for my English, I know it’s not the best.
I enable the Force HTTP Strict-Transport-Security function, and then I tested my site here: https://hstspreload.org/
The tool found two errors:
Error: No includeSubDomains directive
The header must contain theincludeSubDomains
directive.
Error: Max-age too low
The max-age must be at least 31536000 seconds (= 1 year), but the header currently only has max-age=10886400.So, I edited the .htaccess file like this:
# SGS HSTS Header Service
Header set Strict-Transport-Security “max-age=31536000; includeSubDomains; preload”
# SGS HSTS Header Service END1) I’m not an expert, please I want to know if I did any mistake in editing the file .htaccess
2) After my changes, I submitted my site to the tool again. The result was: Eligibility: guidedolomiti.com is eligible for the HSTS preload list (here: https://hstspreload.org/?domain=guidedolomiti.com).
My question now is: should I submit guidedolomiti.com to the HSTS preload list?Thank you.
The page I need help with: [log in to see the link]
- The topic ‘Force HTTP Strict-Transport-Security’ is closed to new replies.