mirror of
https://github.com/jakejarvis/spoons.git
synced 2025-04-26 05:25:24 -04:00
stop forcing https because money
This commit is contained in:
parent
bbc060a56b
commit
ca23f09dc6
@ -6,14 +6,6 @@ ErrorDocument 404 /error.html
|
|||||||
|
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
|
|
||||||
# If we receive a forwarded http request from a proxy...
|
|
||||||
RewriteCond %{HTTP:X-Forwarded-Proto} =http [OR]
|
|
||||||
# ...or just a plain old http request directly from the client
|
|
||||||
RewriteCond %{HTTP:X-Forwarded-Proto} =""
|
|
||||||
RewriteCond %{HTTPS} !=on
|
|
||||||
# Redirect to https version
|
|
||||||
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
|
||||||
|
|
||||||
# other rewrite rules
|
# other rewrite rules
|
||||||
RewriteRule ^login/?$ login.php [L]
|
RewriteRule ^login/?$ login.php [L]
|
||||||
RewriteRule ^logout/?$ logout.php [L]
|
RewriteRule ^logout/?$ logout.php [L]
|
||||||
@ -27,4 +19,4 @@ RewriteRule ^clear/confirmed/?$ index.php?clear&confirmed [L]
|
|||||||
RewriteRule ^clear/done/?$ index.php?clear&done [L]
|
RewriteRule ^clear/done/?$ index.php?clear&done [L]
|
||||||
RewriteRule ^add/?$ add.php [L]
|
RewriteRule ^add/?$ add.php [L]
|
||||||
RewriteRule ^spoon/([^/.]+)/?$ index.php?spoon=$1 [L]
|
RewriteRule ^spoon/([^/.]+)/?$ index.php?spoon=$1 [L]
|
||||||
RewriteRule ^revive/([^/.]+)/?$ index.php?revive=$1 [L]
|
RewriteRule ^revive/([^/.]+)/?$ index.php?revive=$1 [L]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user