diff options
author | Jacob Appelbaum <jacob@appelbaum.net> | 2008-12-07 01:21:19 +0000 |
---|---|---|
committer | Jacob Appelbaum <jacob@appelbaum.net> | 2008-12-07 01:21:19 +0000 |
commit | 6b178b46ef52fc146fee566e9bdd12929d3ad0a3 (patch) | |
tree | e1c1a8e6b340573a2395d29c2b37336855cefd46 /src/config | |
parent | 92562d6e7a57df315698fbdfb9476bcac24bc10e (diff) | |
download | tor-6b178b46ef52fc146fee566e9bdd12929d3ad0a3.tar.gz tor-6b178b46ef52fc146fee566e9bdd12929d3ad0a3.zip |
New DirPortFrontPage option that takes an html file and publishes it as "/" on the DirPort. Now relay operators can provide a disclaimer without needin to set up a separate webserver. There's a sample disclaimer in contrib/tor-exit-notice.html.
svn:r17500
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/torrc.sample.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/torrc.sample.in b/src/config/torrc.sample.in index 0c71c9688d..20322caec9 100644 --- a/src/config/torrc.sample.in +++ b/src/config/torrc.sample.in @@ -109,6 +109,10 @@ SocksListenAddress 127.0.0.1 # accept connections only from localhost ## to make this work. #DirListenAddress 0.0.0.0:9091 +## Uncomment this to return an arbitrary blob of html on your DirPort. You may +## wish to use this blob of html to inform clients about your Tor server. +#DirPortFrontPage /etc/tor/exit-notice.html + ## Uncomment this if you run more than one Tor server, and add the ## nickname of each Tor server you control, even if they're on different ## networks. You declare it here so Tor clients can avoid using more than |