This tuto is not finished ! Some data could leak with this setup like the main domain of your YunoHost, so it's not a "Hidden Service". See https://www.torproject.org/docs/tor-hidden-service.html.en
apt install tor
Edit /etc/tor/torrc
, and add these lines:
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
HiddenServicePort 443 127.0.0.1:443
service tor restart
cat /var/lib/tor/hidden_service/hostname
Your domain looks like random123456789.onion
yunohost domain add random123456789.onion
If you want to avoid being redirected to the SSO portal at login, you can deactivate SSOwat for this specific tor domain, by editing the file /etc/nginx/conf.d/random123456789.onion.conf
and commenting the following line (two times):
#access_by_lua_file /usr/share/ssowat/access.lua;
service nginx restart
Нашли ошибки? Думаете, что можете улучшить документацию? Simply click the Edit link at the top of the page, and then the icon on Github to suggest changes.
Powered by Grav + with by Trilby Media. • Terms of Service