1
mirror of https://github.com/jakejarvis/spoons.git synced 2025-04-26 06:35:22 -04:00

force https

This commit is contained in:
Jake Jarvis 2017-07-16 17:31:53 -04:00
parent 6c803fc3b1
commit eecf8185a9

View File

@ -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]