2
0
mirror of https://github.com/phanan/htaccess.git synced 2018-11-08 13:39:40 +01:00

Update README.md

This commit is contained in:
Phan An 2017-12-08 16:42:51 +01:00 committed by GitHub
parent d92d034587
commit 30816ce7cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,9 @@ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
# on your HTTPS website to help prevent man-in-the-middle attacks.
# See https://developer.mozilla.org/en-US/docs/Web/Security/HTTP_strict_transport_security
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
Header always set Strict-Transport-Security "max-age=31536000;"
# Or, if you want to force HSTS on the sudbmains as well
# Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
</IfModule>
```