mirror of
https://github.com/jakejarvis/spoons.git
synced 2025-04-26 06:35:22 -04:00
force https
This commit is contained in:
parent
6c803fc3b1
commit
eecf8185a9
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user