summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess8
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
+
+