mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
7a01793062
* Revert "Revert "markdown format"" * fix formating * fix readme * add .markdownlint.json * add markdownlint-rules-grav-pages * add markdownlint-rules-grav-pages files * add license for Markdown Lint Rules for Grav Pages * fix [figure] mess * fix [figure] mess 2 * fix [figure] mess 3 * maj .gitignore * various fixes * fix markdownlint-rules-grav-pages * second formater pass * various manual fixes * add .markdownlintignore * markdownlintignore: auto-generated pages * disable proper-names for html_elements * another bunch of various markdown fixes * Update pages/02.administer/10.install/20.dns_config/dns_config.es.md Co-authored-by: tituspijean <titus+yunohost@pijean.ovh> --------- Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Co-authored-by: tituspijean <titus+yunohost@pijean.ovh>
1.3 KiB
1.3 KiB
title | template | taxonomy | routes | ||||
---|---|---|---|---|---|---|---|
Using YunoHost as a Tor Hidden Service | docs |
|
|
! 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
Installing Tor
apt install tor
Configuring our hidden service
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
Restart Tor
service tor restart
Get your Tor Hidden Service hostname
cat /var/lib/tor/hidden_service/hostname
Your domain looks like random123456789.onion
Add the .onion domain to YunoHost
yunohost domain add random123456789.onion
Avoid SSO redirection (optional)
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;
Restart NGINX
service nginx restart