Commit 4d7d5505 authored by anarcat's avatar anarcat Committed by anarcat

fix SSL redirection

parent 1e7dd858
......@@ -12,5 +12,9 @@
endforeach;
endif; ?>
<?php if ($ssl_redirect): ?>
RedirectMatch permanent ^(.*) https://<?php print $site_url ?>$1
<?php else: ?>
RedirectMatch permanent ^(.*) http://<?php print $site_url ?>$1
<?php endif; ?>
</VirtualHost>
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