diff options
author | uvok cheetah | 2019-05-14 21:20:17 +0200 |
---|---|---|
committer | uvok cheetah | 2019-05-14 21:20:17 +0200 |
commit | 92411ecbd9f0cbcec5620de2efbefade7254afca (patch) | |
tree | 807f42473fd484ff9434753ac04f70b609624678 /.htaccess |
Initial commit
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..d4cb96c --- /dev/null +++ b/.htaccess @@ -0,0 +1,8 @@ +RewriteEngine On +RewriteCond %{HTTPS} !on +#RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L] +RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] + +Header set Strict-Transport-Security "max-age=604800; includeSubDomains" env=HTTPS + + |