Force https.

This commit is contained in:
Markus Birth 2017-03-28 12:30:13 +02:00
parent 2107f3dcf7
commit 7f2d896690

View File

@ -3,4 +3,10 @@
</Files>
RewriteEngine on
RewriteRule ^([^./]+)/?$ index.php?action=$1 [L,NC]
# https://wiki.uberspace.de/webserver:htaccess
RewriteCond %{HTTPS} !=on
RewriteCond %{ENV:HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
RewriteRule ^([^./]+)/?$ /index.php?action=$1 [L,NC]