Commit ef28363e authored by Leigh B Stoller's avatar Leigh B Stoller

Redirect from http to https.

parent 447401af
...@@ -6,6 +6,11 @@ DirectoryIndex instantiate.php ...@@ -6,6 +6,11 @@ DirectoryIndex instantiate.php
RewriteBase / RewriteBase /
RewriteEngine on RewriteEngine on
## Only perform this rule if we're on the expected domain
RewriteCond %{HTTP_HOST} aptlab\.net$ [NC]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://www.aptlab.net%{REQUEST_URI}
# Old quickvm page. # Old quickvm page.
RewriteRule ^/quickvm.php /instantiate.php [R=301,L] RewriteRule ^/quickvm.php /instantiate.php [R=301,L]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment