[tor-commits] [webwml/master] Update hidden service doc w/ unix socket info

hiro at torproject.org hiro at torproject.org
Tue Aug 8 09:27:12 UTC 2017


commit 182a9c633591ede56782c8c090b2b108c1be4afb
Author: hiromipaw <hiro at torproject.org>
Date:   Tue Aug 8 11:26:56 2017 +0200

    Update hidden service doc w/ unix socket info
---
 docs/en/tor-hidden-service.wml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/docs/en/tor-hidden-service.wml b/docs/en/tor-hidden-service.wml
index e0d9d4e7..7e759c59 100644
--- a/docs/en/tor-hidden-service.wml
+++ b/docs/en/tor-hidden-service.wml
@@ -136,6 +136,13 @@
     HiddenServicePort 80 127.0.0.1:8080
     </pre>
 
+    <p>Note that since 0.2.6, both <var>SocksPort</var> and <var>HiddenServicePort</var> support Unix socket. 
+    This means that you can point the <var>HiddenServicePort</var> to a Unix socket:</p>
+    <pre>
+    HiddenServiceDir /Library/Tor/var/lib/tor/hidden_service/
+    HiddenServicePort 80 unix:/path/to/socket
+    </pre>
+
     <p>Now save the torrc and restart your tor.</p>
 
     <p>If Tor starts up again, great. Otherwise, something is wrong. First look at



More information about the tor-commits mailing list