up add http as well (#547)

This commit is contained in:
Thibault "bui" Koechlin 2020-12-17 11:30:26 +01:00 committed by GitHub
parent bd7bcff2fd
commit 8a87e76fe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,7 +148,7 @@ With tor installed, setting `HTTP_PROXY` and `HTTPS_PROXY` environment variables
### Running the wizard with tor
```bash
$ sudo HTTPS_PROXY=socks5://127.0.0.1:9050 ./wizard.sh --bininstall
$ sudo HTTPS_PROXY=socks5://127.0.0.1:9050 HTTP_PROXY=socks5://127.0.0.1:9050 ./wizard.sh --bininstall
```
!!! warning
@ -160,12 +160,13 @@ $ sudo HTTPS_PROXY=socks5://127.0.0.1:9050 ./wizard.sh --bininstall
```bash
[Service]
Environment="HTTPS_PROXY=socks5://127.0.0.1:9050"
Environment="HTTP_PROXY=socks5://127.0.0.1:9050"
...
```
### Using cscli via tor
```bash
$ sudo HTTPS_PROXY=socks5://127.0.0.1:9050 cscli capi register
$ sudo HTTP_PROXY=socks5://127.0.0.1:9050 HTTPS_PROXY=socks5://127.0.0.1:9050 cscli capi register
```