mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
add HSTS header
This commit is contained in:
parent
263ea16e00
commit
bfae83019b
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ ExpiresDefault A259200
|
|||
Header append Cache-Control "private, must-revalidate"
|
||||
</FilesMatch>
|
||||
|
||||
# Add HSTS header https://tools.ietf.org/html/rfc6797
|
||||
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" env=HTTPS
|
||||
|
||||
################
|
||||
### Rewrites ###
|
||||
|
|
|
|||
Loading…
Reference in a new issue