diff options
Diffstat (limited to 'tor.html')
| -rw-r--r-- | tor.html | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -83,13 +83,25 @@ HiddenServicePort 80 127.0.0.1:80</code></pre> Now we are almost done, all we have to do is enable the site and reload nginx which, is also covered in <a href="nginx.html#enable">the webserver tutorial</a>. </p> + <h3>Advertise your onion service</h3> + + <p>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:</p> + <pre><code>server { + ... + add_header Onion-Location http://<strong>your-onion-address</strong>.onion$request_uri; +}</code></pre> + <p>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.</p> + <h3>Update regularly!</h3> <p>Make sure to update Tor on a regular basis by running:</p> <pre><code>apt update apt install tor</code></pre> - <p><strong>Contributor</strong> - <a href="https://tomfasano.xyz" target="_blank">tomfasano.xyz</a></p> + <h4>Note:</h4> + <p>You do <u>not</u> need to run certbot for an ssl certificate. HTTP over tor is plenty secure!</p> + + <p><strong>Contributor</strong> - <a href="https://tomfasano.co" target="_blank">tomfasano.co</a></p> </main> <footer><a href="https://landchad.net">LandChad.net</a></br>Because Everyone should be an Internet LandChad.</br><a href="index.html"><li><img src="pix/chad.gif" alt="chad"></li></a><a href="rss.xml"><li><img src="pix/rss.svg" alt="RSS"></li></a><a href="pix/btc.png"><li><img src="pix/btc.svg" alt="BTC"></li></a><a href="pix/xmr.png"><li><img src="pix/xmr.svg" alt="XMR"></li></a><a href="https://github.com/lukesmithxyz/landchad"><li><img src="pix/git.svg" alt="Github"></li></a></footer> |
