mirror of
https://github.com/jakejarvis/spoons.git
synced 2026-07-29 07:05:20 -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