Merge pull request #54 from M5oul/patch-14

Update torhiddenservice_fr.md
This commit is contained in:
Alexis Gavoty 2014-05-13 17:42:24 +02:00
commit 0fe60586e4

View file

@ -1,4 +1,4 @@
# Utiliser Yunohost comme un service caché Tor # Utiliser YunoHost comme un service caché Tor
Voir https://www.torproject.org/docs/tor-hidden-service.html.en (anglais) Voir https://www.torproject.org/docs/tor-hidden-service.html.en (anglais)
@ -10,7 +10,7 @@ apt-get install tor
## Configurer notre service caché ## Configurer notre service caché
Editer le fichier /ect/tor/torrc, et ajouter ces lignes : Éditer le fichier /etc/tor/torrc, et ajouter ces lignes :
```bash ```bash
HiddenServiceDir /var/lib/tor/hidden_service/ HiddenServiceDir /var/lib/tor/hidden_service/
@ -18,7 +18,7 @@ HiddenServicePort 80 127.0.0.1:80
HiddenServicePort 443 127.0.0.1:443 HiddenServicePort 443 127.0.0.1:443
``` ```
## Redemarrer Tor ## Redémarrer Tor
```bash ```bash
service tor restart service tor restart
@ -33,7 +33,7 @@ cat /path/to/hidden_service/keys/hostname
Le domaine ressemble à *random123456789.onion* Le domaine ressemble à *random123456789.onion*
## Ajouter le domaine .onion à Yunohost ## Ajouter le domaine .onion à YunoHost
```bash ```bash
yunohost domain add random123456789.onion yunohost domain add random123456789.onion
@ -41,7 +41,7 @@ yunohost domain add random123456789.onion
## Éviter la redirection vers le SSO (optionnel) ## Éviter la redirection vers le SSO (optionnel)
Si vous voulez éviter d'être redirigé vers le portail à la connexion pour des raisons de traçabilité, vous pouvez désactiver SSOwat pour le domaine, en éditant le fichier `/etc/nginx/conf.d/random123456789.onion.conf` et en commentant la ligne suivante (elle apparaît deux fois dans le fichier): Si vous voulez éviter d'être redirigé vers le portail à la connexion pour des raisons de traçabilité, vous pouvez désactiver SSOwat pour le domaine, en éditant le fichier `/etc/nginx/conf.d/random123456789.onion.conf` et en commentant la ligne suivante (elle apparaît deux fois dans le fichier) :
```bash ```bash
#access_by_lua_file /usr/share/ssowat/access.lua; #access_by_lua_file /usr/share/ssowat/access.lua;