tor-hs: cleanup tor-hs.conf
authorSergey Ponomarev <redacted>
Sun, 23 Jul 2023 09:14:45 +0000 (12:14 +0300)
committerJosef Schlehofer <redacted>
Tue, 20 May 2025 11:20:46 +0000 (13:20 +0200)
commit783b92d5b3e41a0dc6bddf08bb838da6a2d0e5f0
treeb552e65eb38d84320f544043bb54f365b9eeb6a9
parenteee8f9e1e757875846a079a02aa0a9cea623bd14
tor-hs: cleanup tor-hs.conf

Replace boolean "true"/"false" with more frequently used 1/0.
This may avoid configuration mistakes which is critical for Tor.
The Luci app anyway will set it as 1/0.

Make sections named. This is not required but again safes from mistakes when executing uci command.

Uncomment sections but disable them by default.
Then in a Luci app a user can quickly figure out what to change.
Ideally a user may just enable the config and start using it.

In the nextcloud config use a single 80 instead of 80;80.
This simpler configuration is now supported.

Instead of "Hidden service" the Tor team now uses "Onion service".

Signed-off-by: Sergey Ponomarev <redacted>
net/tor-hs/files/tor-hs.conf
git clone https://git.99rst.org/PROJECT