summaryrefslogtreecommitdiff
path: root/doc/apt-transport-https.1.xml
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2018-05-11 14:51:50 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2018-05-11 14:51:50 +0200
commitb0283a5aeee428c9f2567b81ae78c9da68f6f4af (patch)
tree10ed4a3e6ed6c9d05a942528d382d3dbc800030a /doc/apt-transport-https.1.xml
parent5935ef0d212c588547f10031192ddee3418dfe7b (diff)
use 127.0.0.1 instead of localhost as default Tor proxy
This shouldn't make a practical difference for most people, but for edge cases it avoids DNS lookups and additionally prevents us from perfoming unneeded SRV requests, too.
Diffstat (limited to 'doc/apt-transport-https.1.xml')
-rw-r--r--doc/apt-transport-https.1.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/apt-transport-https.1.xml b/doc/apt-transport-https.1.xml
index e925dd537..e77a5a706 100644
--- a/doc/apt-transport-https.1.xml
+++ b/doc/apt-transport-https.1.xml
@@ -100,7 +100,7 @@ In practice the use of the host-specific variants of both options is highly reco
<literallayout>
Acquire::https {
Proxy::example.org "DIRECT";
- Proxy "socks5h://apt:pass@localhost:9050";
+ Proxy "socks5h://apt:pass@127.0.0.1:9050";
Proxy-Auto-Detect "/usr/local/bin/apt-https-proxy-auto-detect";
No-Cache "true";
Max-Age "3600";