Hello!
I’m using a standard installation of Docker Discourse on Ubuntu with clearnet domain example.com
and want to setup a forum mirror in .onion Tor network.
I have installed Tor on server and now I have example.onion
address.
But it’s not work
My steps:
apt install tor
- edit file
/etc/tor/torrc
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:8080
HiddenServiceVersion 3
When I change port 8080 to 80, my example.onion
domain redirict to example.com
3. restart
systemctl restart tor
systemctl enable tor
4. check my onion domain
cat /var/lib/tor/hidden_service/hostname
5. go to cd /var/discourse/
and edit app.yml
add templates web.onion.template.yml
add DISCOURSE_ONION
look like:
DISCOURSE_HOSTNAME example.com
DISCOURSE_ONION example.onion
This web.onion.template.yml
on GitHub
./launcher rebuild app
Please help