summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-07-23 11:00:53 +0000
committerRoger Dingledine <arma@torproject.org>2005-07-23 11:00:53 +0000
commita4510dce66eb474c0fcd14485d8a6cd35d8c14df (patch)
tree324e98100c37ea291f8f12b560726fe1a50ea5d0
parent6f249a46b716c21117f802fab4275f86f784ee51 (diff)
downloadtor-a4510dce66eb474c0fcd14485d8a6cd35d8c14df.tar.gz
tor-a4510dce66eb474c0fcd14485d8a6cd35d8c14df.zip
better example
svn:r4653
-rw-r--r--doc/tor-hidden-service.html15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/tor-hidden-service.html b/doc/tor-hidden-service.html
index 5680ab21f1..6e3ed6c949 100644
--- a/doc/tor-hidden-service.html
+++ b/doc/tor-hidden-service.html
@@ -230,14 +230,21 @@ using it as a hidden service?
<p>If you want to forward multiple virtual ports for a single hidden
service, just add more HiddenServicePort lines.
-</p>
-
-<p>If you want to run multiple hidden services from the same Tor
+If you want to run multiple hidden services from the same Tor
client, just add another HiddenServiceDir line. All the following
HiddenServicePort lines refer to this HiddenServiceDir line, until
-you add another HiddenServiceDir line.
+you add another HiddenServiceDir line:
</p>
+<pre>
+HiddenServiceDir /usr/local/etc/tor/hidden_service/
+HiddenServicePort 80 127.0.0.1:8080
+
+HiddenServiceDir /usr/local/etc/tor/other_hidden_service/
+HiddenServicePort 6667 127.0.0.1:6667
+HiddenServicePort 22 127.0.0.1:22
+</pre>
+
<p>There are some anonymity issues you should keep in mind too:
</p>
<ul>