mirror of
https://github.com/jakejarvis/spoons.git
synced 2025-09-15 04:35:34 -04:00
force https
This commit is contained in:
@@ -5,6 +5,10 @@ ErrorDocument 404 /error.html
|
||||
#AddType application/x-httpd-php5 .pdf
|
||||
|
||||
RewriteEngine on
|
||||
|
||||
RewriteCond %{HTTPS} !=on
|
||||
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||
|
||||
RewriteRule ^login/?$ login.php [L]
|
||||
RewriteRule ^logout/?$ logout.php [L]
|
||||
RewriteRule ^sms/?$ sms.php [L]
|
||||
|
Reference in New Issue
Block a user