summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormia06 <mia06@nsa.govt>2019-04-05 14:35:04 +0000
committermia06 <mia06@nsa.govt>2019-04-05 14:35:04 +0000
commit4244b2f4b99c2d6a9e1dcf0d93e481783b8494a2 (patch)
tree028c60d06eafd792753b5e99e0fb3d6b41485e52
parent61d493ede094230700de4aef5d8f116d3c12091d (diff)
downloadcloudflare-tor-4244b2f4b99c2d6a9e1dcf0d93e481783b8494a2.tar
cloudflare-tor-4244b2f4b99c2d6a9e1dcf0d93e481783b8494a2.tar.gz
cloudflare-tor-4244b2f4b99c2d6a9e1dcf0d93e481783b8494a2.tar.lz
cloudflare-tor-4244b2f4b99c2d6a9e1dcf0d93e481783b8494a2.tar.xz
cloudflare-tor-4244b2f4b99c2d6a9e1dcf0d93e481783b8494a2.zip
Update 'what-to-do.md'
-rw-r--r--what-to-do.md14
1 files changed, 13 insertions, 1 deletions
diff --git a/what-to-do.md b/what-to-do.md
index 6a2688ac..29284b8a 100644
--- a/what-to-do.md
+++ b/what-to-do.md
@@ -176,9 +176,21 @@ default 0;
server {
...
-if ($iscf) {rewrite ^ https://example.com/cloudflare.html;}
+if ($iscf) {rewrite ^ https://example.com/cfwsorry.php;}
...
}
+
+
+[ code cfwsorry.php ]
+
+<?php
+header('HTTP/1.1 406 Not Acceptable');
+echo <<<CLOUDFLARED
+Thank you for visiting ourwebsite.com!
+We are sorry, but we can't serve you because your connection is being intercepted by Cloudflare.
+Please read https://notabug.org/themusicgod1/cloudflare-tor/ for more information.
+CLOUDFLARED;
+die();
```
- Set up [Tor Onion Service](https://www.torproject.org/docs/onion-services.html.en) or I2P insite if you believe in freedom and welcome anonymous users.