From 7e28e6da43dfb498d8c1f857ae42e2fd5ef203bc Mon Sep 17 00:00:00 2001 From: Stefan Leibfarth Date: Mon, 21 Aug 2023 16:04:20 +0200 Subject: [PATCH] Rename 'hidden' to 'onion' (#920) Because that's what they're called, see https://community.torproject.org/onion-services/. --- content/en/admin/optional/tor.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/en/admin/optional/tor.md b/content/en/admin/optional/tor.md index 67c1d795..f49847fd 100644 --- a/content/en/admin/optional/tor.md +++ b/content/en/admin/optional/tor.md @@ -1,6 +1,6 @@ --- -title: Hidden services -description: Serving Mastodon through TOR hidden services. +title: Onion services +description: Serving Mastodon through Tor onion services. menu: docs: weight: 20 @@ -36,7 +36,7 @@ apt install tor deb.torproject.org-keyring Edit the file at `/etc/tor/torrc` and add the following configuration. ```text -HiddenServiceDir /var/lib/tor/hidden_service/ +HiddenServiceDir /var/lib/tor/onion_service/ HiddenServiceVersion 3 HiddenServicePort 80 127.0.0.1:80 ``` @@ -47,7 +47,7 @@ Restart tor. sudo service tor restart ``` -Your tor hostname can now be found at `/var/lib/tor/hidden_service/hostname`. +Your tor hostname can now be found at `/var/lib/tor/onion_service/hostname`. ## Move your Mastodon configuration {#nginx} @@ -134,7 +134,7 @@ server { } ``` -Replace the long hash provided here with your Tor domain located in the file at `/var/lib/tor/hidden_service/hostname`. +Replace the long hash provided here with your Tor domain located in the file at `/var/lib/tor/onion_service/hostname`. Note that the onion hostname has been prefixed with “mastodon.”. Your Tor address acts a wildcard domain. All subdomains will be routed through, and you can configure Nginx to respond to any subdomain you wish. If you do not wish to host any other services on your tor address you can omit the subdomain, or choose a different subdomain.