This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git


The following commit(s) were added to refs/heads/master by this push:
     new af57570  Always use https
af57570 is described below

commit af57570f9da6e7700c3cbd19949046c013eae41d
Author: mck <m...@apache.org>
AuthorDate: Wed Apr 22 21:59:09 2020 +0200

    Always use https
---
 src/.htaccess | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/.htaccess b/src/.htaccess
index 00c9ec3..dd8c182 100644
--- a/src/.htaccess
+++ b/src/.htaccess
@@ -1 +1,4 @@
 RewriteEngine On
+
+RewriteCond %{HTTPS} !=on
+RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to