From 7cae7f6a9b2efc0dc798f015aceab8942140fba5 Mon Sep 17 00:00:00 2001
From: Luke Smith
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.
+Make sure to update Tor on a regular basis by running: