Hi. Sharma.
I want to same function also.
-
I installed Discourse on Docker(standard install).
-
append web.onion.template.yml to app.yml in containers directory.
before web.ssl.template.yml.
set DISCOURSE_ONION env variable *********.onion and rebuild app.
-
after build, ./launcher enter app and sudo apt-get upgrade&sudo apt-get install nano & sudo apt-get install tor
-
edit /etc/tor/torrc and uncomment hidden service dir and port.
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
- run tor.
-
not work.
-
I checked the tor.service file then it looks like run /bin/true file.
-
check /var/lib/tor/hidden_service/hostname and got .onion address.
-
close tor.
-
edit onion.conf and replace ***************.onion to the new onion address.
-
run tor again.
-
tried to connect the .onion address. orinal https url works well but .onion address make not found error.