Tor: Running a Mirror


All of our mirrors are publicly listed on our mirrors page.

If you would like to run a mirror, it's as easy as this command to download everything a mirror should share with the world:

rsync -av --delete rsync://rsync.torproject.org/tor tor-mirror/

If you would like to run a dist/ mirror, it's as easy as this command to download everything a dist mirror should share with the world:

rsync -av --delete rsync://rsync.torproject.org/tor/dist tor-mirror-dist/

An example cronjob to update a full mirror once a day may look like so:

1 4 * * * rsync -av --delete rsync://rsync.torproject.org/tor /var/www/mirrors/torproject.org/


For mirror operators that use Apache, we've created a sample virtual host configuration file to use:
<VirtualHost 1.2.3.4:80>
        ServerAdmin youremail@example.com
        ServerName  1.2.3.4

        DocumentRoot /var/www/mirrors/torproject.org

        <Directory /var/www/mirrors/torproject.org/>
                Options MultiViews
                DirectoryIndex index
                AllowOverride None
        </Directory>

<VirtualHost>


Please ensure that you keep your mirror updated (we suggest automating this task with something like 'cron'). Our website, source code and binary releases change often. Tor users everywhere will thank you.


If you are running a mirror, please email tor-webmaster and we'll add it to the list.

Webmaster - Last modified: Sat Dec 13 12:57:13 2008 - Last compiled: Thu Jan 8 06:03:36 2009

"Tor" and the "Onion Logo" are registered trademarks of The Tor Project, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 United States License. Creative Commons Attribution 3.0 United States License

This page is also available in the following languages: español, français, Italiano, polski.
How to set the default document language.