Redirects TOR users browsing your site over clearweb to your onion address
Idea by chloe
Add
include_once "tor-redirect.php";
to the top of all your files which should do this check.
Make sure to actually add it to the top of the file, since you cannot change location header if anything on the page has been sent to the user.
Add getlist.sh to crontab to schedule fetching of exit-node ips
crontab -e
Add to file to fetch exit-node ips 00.00 every day
00 00 * * * /path/to/getlist.sh