cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cassandra-website] michaelsembwever commented on a change in pull request #5: Always use https
Date Thu, 23 Apr 2020 08:52:49 GMT

michaelsembwever commented on a change in pull request #5:
URL: https://github.com/apache/cassandra-website/pull/5#discussion_r413635024



##########
File path: src/.htaccess
##########
@@ -1 +1,4 @@
 RewriteEngine On
+
+RewriteCond %{HTTPS} !=on
+RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

Review comment:
       have tested it. `SERVER_NAME` works fine in different scenarios.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Mime
View raw message