summaryrefslogtreecommitdiff
path: root/user/apache-httpd/conf/rewrite.conf
diff options
context:
space:
mode:
Diffstat (limited to 'user/apache-httpd/conf/rewrite.conf')
-rw-r--r--user/apache-httpd/conf/rewrite.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/user/apache-httpd/conf/rewrite.conf b/user/apache-httpd/conf/rewrite.conf
new file mode 100644
index 000000000..07513e990
--- /dev/null
+++ b/user/apache-httpd/conf/rewrite.conf
@@ -0,0 +1,8 @@
+<IfModule rewrite_module>
+RewriteEngine On
+# These rules automatically redirect bare HTTP to HTTPS.
+#<IfModule ssl_module>
+#RewriteCond %{HTTPS} off
+#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI}
+#</IfModule>
+</IfModule>