From 7cae7f6a9b2efc0dc798f015aceab8942140fba5 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 19 Aug 2021 07:42:28 -0400 Subject: [PATCH] tor update --- tor.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tor.html b/tor.html index 6711d5c..87c34ac 100644 --- a/tor.html +++ b/tor.html @@ -83,6 +83,15 @@ HiddenServicePort 80 127.0.0.1:80 Now we are almost done, all we have to do is enable the site and reload nginx which, is also covered in the webserver tutorial.

+

Advertise your onion service

+ +

You can add the Onion-Location header to your normal website to advertise your onion service to Tor users. On your regular site's nginx config, add the following line:

+
server {
+    ...
+    add_header Onion-Location http://your-onion-address.onion$request_uri;
+}
+

After doing this and reloading nginx, when visiting your regular site via Tor, you should see a ".onion available" button on the address bar, which should take you to the onion service.

+

Update regularly!

Make sure to update Tor on a regular basis by running: