... | ... |
@@ -21,6 +21,7 @@ |
21 | 21 |
30 GB of disk space, but this number can fluctuate. Expect space |
22 | 22 |
requirements of up to 50 GB. |
23 | 23 |
</p> |
24 |
+ <a id="sysconfig"></a> |
|
24 | 25 |
<h2><a class="anchor" href="#sysconfig">Configuring your System</a></h2> |
25 | 26 |
<p> |
26 | 27 |
If you would like to run a mirror, it's as easy as these commands to download |
... | ... |
@@ -120,6 +121,7 @@ text/html en html htm shtml; |
120 | 121 |
binary releases change often. An update frequency of six hours is recommended. Tor users everywhere will thank you. |
121 | 122 |
</p> |
122 | 123 |
<br/> |
124 |
+ <a id="mirrorops"></a> |
|
123 | 125 |
<h2><a class="anchor" href="#mirrorops">Joining the mirror community</a></h2> |
124 | 126 |
<p> |
125 | 127 |
If you are running a mirror, please subscribe to the <A |
... | ... |
@@ -131,7 +131,7 @@ text/html en html htm shtml; |
131 | 131 |
<p> |
132 | 132 |
In order to add your mirror, please send a |
133 | 133 |
single, comma delimited line of text based on <a |
134 |
- href="https://svn.torproject.org/svn/website/trunk/include/tor-mirrors.csv">this |
|
134 |
+ href="https://gitweb.torproject.org/project/web/webwml.git/plain/include/tor-mirrors.csv">this |
|
135 | 135 |
file</a> to the mirrors list. Your mirror will then be added manually |
136 | 136 |
if it passes availability testing and your provided information is |
137 | 137 |
confirmed. Some general pointers on mirrors are: |
... | ... |
@@ -18,8 +18,8 @@ |
18 | 18 |
page</a>. We've included some sample commands and configuration below |
19 | 19 |
to make the initial setup and ongoing maintenance a minimal effort. |
20 | 20 |
The Tor website and distribution directory currently require roughly |
21 |
- 24GB of disk space, but this number can fluctuate. Expect space |
|
22 |
- requirements of up to 30 GB. |
|
21 |
+ 30 GB of disk space, but this number can fluctuate. Expect space |
|
22 |
+ requirements of up to 50 GB. |
|
23 | 23 |
</p> |
24 | 24 |
<h2><a class="anchor" href="#sysconfig">Configuring your System</a></h2> |
25 | 25 |
<p> |
... | ... |
@@ -17,9 +17,10 @@ |
17 | 17 |
our mirrors are publicly listed on <a href="<page getinvolved/mirrors>">our mirrors |
18 | 18 |
page</a>. We've included some sample commands and configuration below |
19 | 19 |
to make the initial setup and ongoing maintenance a minimal effort. |
20 |
- The Tor website and distribution directory currently require roughly 9 GB of |
|
21 |
- disk space, but this number can fluctuate. Expect space requirements |
|
22 |
- of up to 15 GB.</p> |
|
20 |
+ The Tor website and distribution directory currently require roughly |
|
21 |
+ 24GB of disk space, but this number can fluctuate. Expect space |
|
22 |
+ requirements of up to 30 GB. |
|
23 |
+ </p> |
|
23 | 24 |
<h2><a class="anchor" href="#sysconfig">Configuring your System</a></h2> |
24 | 25 |
<p> |
25 | 26 |
If you would like to run a mirror, it's as easy as these commands to download |
... | ... |
@@ -17,8 +17,9 @@ |
17 | 17 |
our mirrors are publicly listed on <a href="<page getinvolved/mirrors>">our mirrors |
18 | 18 |
page</a>. We've included some sample commands and configuration below |
19 | 19 |
to make the initial setup and ongoing maintenance a minimal effort. |
20 |
- The Tor website and distribution directory currently require roughly 6 GB of |
|
21 |
- disk space.</p> |
|
20 |
+ The Tor website and distribution directory currently require roughly 9 GB of |
|
21 |
+ disk space, but this number can fluctuate. Expect space requirements |
|
22 |
+ of up to 15 GB.</p> |
|
22 | 23 |
<h2><a class="anchor" href="#sysconfig">Configuring your System</a></h2> |
23 | 24 |
<p> |
24 | 25 |
If you would like to run a mirror, it's as easy as these commands to download |
... | ... |
@@ -75,7 +75,8 @@ rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/to |
75 | 75 |
DocumentRoot /var/www/mirrors/torproject.org<br/> |
76 | 76 |
|
77 | 77 |
<Directory /var/www/mirrors/torproject.org/><br/> |
78 |
- Options MultiViews Indexes # Be sure to enable the autoindex and negotiation modules<br/> |
|
78 |
+ # Be sure to enable the autoindex and negotiation modules<br/> |
|
79 |
+ Options MultiViews Indexes<br/> |
|
79 | 80 |
DirectoryIndex index<br/> |
80 | 81 |
AllowOverride None<br/> |
81 | 82 |
</Directory><br/> |
... | ... |
@@ -75,7 +75,7 @@ rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/to |
75 | 75 |
DocumentRoot /var/www/mirrors/torproject.org<br/> |
76 | 76 |
|
77 | 77 |
<Directory /var/www/mirrors/torproject.org/><br/> |
78 |
- Options MultiViews Indexes<br/> |
|
78 |
+ Options MultiViews Indexes # Be sure to enable the autoindex and negotiation modules<br/> |
|
79 | 79 |
DirectoryIndex index<br/> |
80 | 80 |
AllowOverride None<br/> |
81 | 81 |
</Directory><br/> |
... | ... |
@@ -26,8 +26,8 @@ |
26 | 26 |
</p> |
27 | 27 |
<tt> |
28 | 28 |
<pre> |
29 |
-rsync -av --exclude dist --delete rsync://rsync.torproject.org/website-mirror tor-mirror/ |
|
30 |
-rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ |
|
29 |
+rsync -aq --exclude dist --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org |
|
30 |
+rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/torproject.org/dist |
|
31 | 31 |
</pre> |
32 | 32 |
</tt> |
33 | 33 |
|
... | ... |
@@ -26,7 +26,7 @@ |
26 | 26 |
</p> |
27 | 27 |
<tt> |
28 | 28 |
<pre> |
29 |
-rsync -av --exclude 'dist' --delete rsync://rsync.torproject.org/website-mirror tor-mirror/ |
|
29 |
+rsync -av --exclude dist --delete rsync://rsync.torproject.org/website-mirror tor-mirror/ |
|
30 | 30 |
rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ |
31 | 31 |
</pre> |
32 | 32 |
</tt> |
... | ... |
@@ -58,7 +58,7 @@ rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ |
58 | 58 |
<tt> |
59 | 59 |
<pre> |
60 | 60 |
# m h dom mon dow command |
61 |
-0 */6 * * * rsync -aq --exclude 'dist' --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org |
|
61 |
+0 */6 * * * rsync -aq --exclude dist --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org |
|
62 | 62 |
5 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/torproject.org/dist |
63 | 63 |
</pre> |
64 | 64 |
</tt> |
... | ... |
@@ -132,8 +132,8 @@ text/html en html htm shtml; |
132 | 132 |
file</a> to the mirrors list. Your mirror will then be added manually |
133 | 133 |
if it passes availability testing and your provided information is |
134 | 134 |
confirmed. Some general pointers on mirrors are: |
135 |
- <ol><li> Try not run your mirror behind a content delivery network |
|
136 |
- (such as Akamai, Cloudflare, Fastly, etc), as most of them block |
|
135 |
+ <ol><li> Try not to run your mirror behind a content delivery network |
|
136 |
+ (such as Akamai, Cloudflare, Fastly, etc) as most of them block |
|
137 | 137 |
access from countries where the mirror is needed the most.</li> |
138 | 138 |
<li> Try not to redirect http to https. Many places in the world |
139 | 139 |
cannot use https due to local or national firewalls.</li> |
... | ... |
@@ -58,7 +58,7 @@ rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ |
58 | 58 |
<tt> |
59 | 59 |
<pre> |
60 | 60 |
# m h dom mon dow command |
61 |
-0 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org |
|
61 |
+0 */6 * * * rsync -aq --exclude 'dist' --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org |
|
62 | 62 |
5 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/torproject.org/dist |
63 | 63 |
</pre> |
64 | 64 |
</tt> |
... | ... |
@@ -23,7 +23,7 @@ |
23 | 23 |
<p> |
24 | 24 |
If you would like to run a mirror, it's as easy as these commands to download |
25 | 25 |
everything a mirror should share with the world: |
26 |
- <br> <br> |
|
26 |
+ </p> |
|
27 | 27 |
<tt> |
28 | 28 |
<pre> |
29 | 29 |
rsync -av --exclude 'dist' --delete rsync://rsync.torproject.org/website-mirror tor-mirror/ |
... | ... |
@@ -54,6 +54,7 @@ rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ |
54 | 54 |
<br><br> |
55 | 55 |
<p> |
56 | 56 |
An example cronjob to update a full mirror once every 6 hours may look like so: |
57 |
+ </p> |
|
57 | 58 |
<tt> |
58 | 59 |
<pre> |
59 | 60 |
# m h dom mon dow command |
... | ... |
@@ -61,30 +62,31 @@ rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ |
61 | 62 |
5 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/torproject.org/dist |
62 | 63 |
</pre> |
63 | 64 |
</tt> |
64 |
- </p> |
|
65 |
- <br/> |
|
65 |
+ <p> |
|
66 | 66 |
For mirror operators that use Apache, we have created a sample virtual host |
67 | 67 |
configuration file to use: |
68 |
+ </p> |
|
68 | 69 |
<tt> |
69 | 70 |
<pre> |
70 | 71 |
<VirtualHost 10.10.10.10:80> |
71 |
- ServerAdmin youremail@example.com<br/> |
|
72 |
- ServerName ServerNameHere<br/> |
|
72 |
+ ServerAdmin youremail@example.com<br/> |
|
73 |
+ ServerName ServerNameHere<br/> |
|
73 | 74 |
|
74 |
- DocumentRoot /var/www/mirrors/torproject.org<br/> |
|
75 |
+ DocumentRoot /var/www/mirrors/torproject.org<br/> |
|
75 | 76 |
|
76 |
- <Directory /var/www/mirrors/torproject.org/><br/> |
|
77 |
- Options MultiViews Indexes<br/> |
|
78 |
- DirectoryIndex index<br/> |
|
79 |
- AllowOverride None<br/> |
|
80 |
- </Directory><br/> |
|
77 |
+ <Directory /var/www/mirrors/torproject.org/><br/> |
|
78 |
+ Options MultiViews Indexes<br/> |
|
79 |
+ DirectoryIndex index<br/> |
|
80 |
+ AllowOverride None<br/> |
|
81 |
+ </Directory><br/> |
|
81 | 82 |
|
82 | 83 |
</VirtualHost> |
83 | 84 |
</pre> |
84 | 85 |
</tt> |
85 |
- <br/> |
|
86 |
+ <p> |
|
86 | 87 |
For mirror operators that use nginx, we created a sample virtual host |
87 | 88 |
configuration file to use: |
89 |
+ </p> |
|
88 | 90 |
<tt> |
89 | 91 |
<pre> |
90 | 92 |
server { |
... | ... |
@@ -100,9 +102,10 @@ server { |
100 | 102 |
} |
101 | 103 |
</pre> |
102 | 104 |
</tt> |
103 |
- <br/> |
|
105 |
+ <p> |
|
104 | 106 |
If you use nginx, please ensure the text/html line in |
105 | 107 |
<tt>/etc/nginx/mime.types</tt> matches: |
108 |
+ </p> |
|
106 | 109 |
<tt> |
107 | 110 |
<pre> |
108 | 111 |
text/html en html htm shtml; |
... | ... |
@@ -25,10 +25,10 @@ |
25 | 25 |
everything a mirror should share with the world: |
26 | 26 |
<br> <br> |
27 | 27 |
<tt> |
28 |
- <pre> |
|
29 |
- rsync -av --exclude 'dist' --delete rsync://rsync.torproject.org/website-mirror tor-mirror/ |
|
30 |
- rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ |
|
31 |
- </pre> |
|
28 |
+<pre> |
|
29 |
+rsync -av --exclude 'dist' --delete rsync://rsync.torproject.org/website-mirror tor-mirror/ |
|
30 |
+rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ |
|
31 |
+</pre> |
|
32 | 32 |
</tt> |
33 | 33 |
|
34 | 34 |
<p> |
... | ... |
@@ -55,58 +55,58 @@ |
55 | 55 |
<p> |
56 | 56 |
An example cronjob to update a full mirror once every 6 hours may look like so: |
57 | 57 |
<tt> |
58 |
- <pre> |
|
59 |
- # m h dom mon dow command |
|
60 |
- 0 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org |
|
61 |
- 5 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/torproject.org/dist |
|
62 |
- </pre> |
|
58 |
+<pre> |
|
59 |
+# m h dom mon dow command |
|
60 |
+0 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org |
|
61 |
+5 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/torproject.org/dist |
|
62 |
+</pre> |
|
63 | 63 |
</tt> |
64 | 64 |
</p> |
65 | 65 |
<br/> |
66 | 66 |
For mirror operators that use Apache, we have created a sample virtual host |
67 | 67 |
configuration file to use: |
68 | 68 |
<tt> |
69 |
- <pre> |
|
70 |
- <VirtualHost 10.10.10.10:80> |
|
71 |
- ServerAdmin youremail@example.com<br/> |
|
72 |
- ServerName ServerNameHere<br/> |
|
69 |
+<pre> |
|
70 |
+<VirtualHost 10.10.10.10:80> |
|
71 |
+ ServerAdmin youremail@example.com<br/> |
|
72 |
+ ServerName ServerNameHere<br/> |
|
73 | 73 |
|
74 |
- DocumentRoot /var/www/mirrors/torproject.org<br/> |
|
74 |
+ DocumentRoot /var/www/mirrors/torproject.org<br/> |
|
75 | 75 |
|
76 |
- <Directory /var/www/mirrors/torproject.org/><br/> |
|
77 |
- Options MultiViews Indexes<br/> |
|
78 |
- DirectoryIndex index<br/> |
|
79 |
- AllowOverride None<br/> |
|
80 |
- </Directory><br/> |
|
76 |
+ <Directory /var/www/mirrors/torproject.org/><br/> |
|
77 |
+ Options MultiViews Indexes<br/> |
|
78 |
+ DirectoryIndex index<br/> |
|
79 |
+ AllowOverride None<br/> |
|
80 |
+ </Directory><br/> |
|
81 | 81 |
|
82 |
- </VirtualHost> |
|
83 |
- </pre> |
|
82 |
+</VirtualHost> |
|
83 |
+</pre> |
|
84 | 84 |
</tt> |
85 | 85 |
<br/> |
86 | 86 |
For mirror operators that use nginx, we created a sample virtual host |
87 | 87 |
configuration file to use: |
88 | 88 |
<tt> |
89 |
- <pre> |
|
90 |
- server { |
|
91 |
- listen 10.10.10.10:80; |
|
92 |
- server_name your.example.com; |
|
89 |
+<pre> |
|
90 |
+server { |
|
91 |
+ listen 10.10.10.10:80; |
|
92 |
+ server_name your.example.com; |
|
93 | 93 |
|
94 |
- root /var/www/mirrors/torproject.org; |
|
95 |
- index index.html.en; |
|
94 |
+ root /var/www/mirrors/torproject.org; |
|
95 |
+ index index.html.en; |
|
96 | 96 |
|
97 |
- location / { |
|
98 |
- autoindex on; |
|
99 |
- } |
|
97 |
+ location / { |
|
98 |
+ autoindex on; |
|
100 | 99 |
} |
101 |
- </pre> |
|
100 |
+} |
|
101 |
+</pre> |
|
102 | 102 |
</tt> |
103 | 103 |
<br/> |
104 | 104 |
If you use nginx, please ensure the text/html line in |
105 | 105 |
<tt>/etc/nginx/mime.types</tt> matches: |
106 | 106 |
<tt> |
107 |
- <pre> |
|
108 |
- text/html en html htm shtml; |
|
109 |
- </pre> |
|
107 |
+<pre> |
|
108 |
+text/html en html htm shtml; |
|
109 |
+</pre> |
|
110 | 110 |
</tt> |
111 | 111 |
<br/><br> |
112 | 112 |
Please ensure that you keep your mirror updated (we suggest automating this |
... | ... |
@@ -25,8 +25,10 @@ |
25 | 25 |
everything a mirror should share with the world: |
26 | 26 |
<br> <br> |
27 | 27 |
<tt> |
28 |
- rsync -av --exclude 'dist'--delete rsync://rsync.torproject.org/website-mirror tor-mirror/ |
|
28 |
+ <pre> |
|
29 |
+ rsync -av --exclude 'dist' --delete rsync://rsync.torproject.org/website-mirror tor-mirror/ |
|
29 | 30 |
rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ |
31 |
+ </pre> |
|
30 | 32 |
</tt> |
31 | 33 |
|
32 | 34 |
<p> |
... | ... |
@@ -92,7 +94,7 @@ |
92 | 94 |
root /var/www/mirrors/torproject.org; |
93 | 95 |
index index.html.en; |
94 | 96 |
|
95 |
- location ^~ /dist/ { |
|
97 |
+ location / { |
|
96 | 98 |
autoindex on; |
97 | 99 |
} |
98 | 100 |
} |
... | ... |
@@ -17,15 +17,16 @@ |
17 | 17 |
our mirrors are publicly listed on <a href="<page getinvolved/mirrors>">our mirrors |
18 | 18 |
page</a>. We've included some sample commands and configuration below |
19 | 19 |
to make the initial setup and ongoing maintenance a minimal effort. |
20 |
- The Tor website and distribution directory currently require 8.0 GB of |
|
20 |
+ The Tor website and distribution directory currently require roughly 6 GB of |
|
21 | 21 |
disk space.</p> |
22 | 22 |
<h2><a class="anchor" href="#sysconfig">Configuring your System</a></h2> |
23 | 23 |
<p> |
24 |
- If you would like to run a mirror, it's as easy as this command to download |
|
24 |
+ If you would like to run a mirror, it's as easy as these commands to download |
|
25 | 25 |
everything a mirror should share with the world: |
26 | 26 |
<br> <br> |
27 | 27 |
<tt> |
28 |
- rsync -av --delete rsync://rsync.torproject.org/website-mirror tor-mirror/ |
|
28 |
+ rsync -av --exclude 'dist'--delete rsync://rsync.torproject.org/website-mirror tor-mirror/ |
|
29 |
+ rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ |
|
29 | 30 |
</tt> |
30 | 31 |
|
31 | 32 |
<p> |
... | ... |
@@ -55,6 +56,7 @@ |
55 | 56 |
<pre> |
56 | 57 |
# m h dom mon dow command |
57 | 58 |
0 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org |
59 |
+ 5 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/torproject.org/dist |
|
58 | 60 |
</pre> |
59 | 61 |
</tt> |
60 | 62 |
</p> |
... | ... |
@@ -38,8 +38,6 @@ |
38 | 38 |
Allows "Directory Index / Indexes" (Index viewing) of the /dist |
39 | 39 |
directory.<br/><br/> |
40 | 40 |
|
41 |
- Allows "Multiviews" or equivalent for language localization.<br/><br/> |
|
42 |
- |
|
43 | 41 |
Have a valid contact email for administrative communications should your |
44 | 42 |
server have issues.<br/><br/> |
45 | 43 |
|
... | ... |
@@ -19,7 +19,7 @@ |
19 | 19 |
to make the initial setup and ongoing maintenance a minimal effort. |
20 | 20 |
The Tor website and distribution directory currently require 8.0 GB of |
21 | 21 |
disk space.</p> |
22 |
- |
|
22 |
+ <h2><a class="anchor" href="#sysconfig">Configuring your System</a></h2> |
|
23 | 23 |
<p> |
24 | 24 |
If you would like to run a mirror, it's as easy as this command to download |
25 | 25 |
everything a mirror should share with the world: |
... | ... |
@@ -112,12 +112,14 @@ |
112 | 112 |
binary releases change often. An update frequency of six hours is recommended. Tor users everywhere will thank you. |
113 | 113 |
</p> |
114 | 114 |
<br/> |
115 |
+ <h2><a class="anchor" href="#mirrorops">Joining the mirror community</a></h2> |
|
115 | 116 |
<p> |
116 | 117 |
If you are running a mirror, please subscribe to the <A |
117 | 118 |
href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors">tor-mirrors |
118 | 119 |
mailing list</A>, and introduce yourself there. Help for mirror |
119 | 120 |
support and configuration issues may also be found on the list. |
120 | 121 |
</p> |
122 |
+ |
|
121 | 123 |
<p> |
122 | 124 |
In order to add your mirror, please send a |
123 | 125 |
single, comma delimited line of text based on <a |
... | ... |
@@ -129,7 +131,7 @@ |
129 | 131 |
(such as Akamai, Cloudflare, Fastly, etc), as most of them block |
130 | 132 |
access from countries where the mirror is needed the most.</li> |
131 | 133 |
<li> Try not to redirect http to https. Many places in the world |
132 |
- cannot use https due to firewalling.</li> |
|
134 |
+ cannot use https due to local or national firewalls.</li> |
|
133 | 135 |
</ol> |
134 | 136 |
</p> |
135 | 137 |
</div> |
... | ... |
@@ -124,9 +124,13 @@ |
124 | 124 |
href="https://svn.torproject.org/svn/website/trunk/include/tor-mirrors.csv">this |
125 | 125 |
file</a> to the mirrors list. Your mirror will then be added manually |
126 | 126 |
if it passes availability testing and your provided information is |
127 |
- confirmed. Do not run your mirror behind a content delivery network |
|
127 |
+ confirmed. Some general pointers on mirrors are: |
|
128 |
+ <ol><li> Try not run your mirror behind a content delivery network |
|
128 | 129 |
(such as Akamai, Cloudflare, Fastly, etc), as most of them block |
129 |
- access from countries where the mirror is needed the most. |
|
130 |
+ access from countries where the mirror is needed the most.</li> |
|
131 |
+ <li> Try not to redirect http to https. Many places in the world |
|
132 |
+ cannot use https due to firewalling.</li> |
|
133 |
+ </ol> |
|
130 | 134 |
</p> |
131 | 135 |
</div> |
132 | 136 |
<!-- END MAINCOL --> |
... | ... |
@@ -115,9 +115,18 @@ |
115 | 115 |
<p> |
116 | 116 |
If you are running a mirror, please subscribe to the <A |
117 | 117 |
href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors">tor-mirrors |
118 |
- mailing list</A>, and introduce yourself there. |
|
119 |
- We will add you to the mirror list. |
|
120 |
- Help for mirror support and configuration issues may also be found on the list. |
|
118 |
+ mailing list</A>, and introduce yourself there. Help for mirror |
|
119 |
+ support and configuration issues may also be found on the list. |
|
120 |
+ </p> |
|
121 |
+ <p> |
|
122 |
+ In order to add your mirror, please send a |
|
123 |
+ single, comma delimited line of text based on <a |
|
124 |
+ href="https://svn.torproject.org/svn/website/trunk/include/tor-mirrors.csv">this |
|
125 |
+ file</a> to the mirrors list. Your mirror will then be added manually |
|
126 |
+ if it passes availability testing and your provided information is |
|
127 |
+ confirmed. Do not run your mirror behind a content delivery network |
|
128 |
+ (such as Akamai, Cloudflare, Fastly, etc), as most of them block |
|
129 |
+ access from countries where the mirror is needed the most. |
|
121 | 130 |
</p> |
122 | 131 |
</div> |
123 | 132 |
<!-- END MAINCOL --> |
... | ... |
@@ -65,9 +65,9 @@ |
65 | 65 |
configuration file to use: |
66 | 66 |
<tt> |
67 | 67 |
<pre> |
68 |
- <VirtualHost 0.1.2.3:80> |
|
68 |
+ <VirtualHost 10.10.10.10:80> |
|
69 | 69 |
ServerAdmin youremail@example.com<br/> |
70 |
- ServerName 0.1.2.3<br/> |
|
70 |
+ ServerName ServerNameHere<br/> |
|
71 | 71 |
|
72 | 72 |
DocumentRoot /var/www/mirrors/torproject.org<br/> |
73 | 73 |
|
... | ... |
@@ -86,11 +86,15 @@ |
86 | 86 |
<tt> |
87 | 87 |
<pre> |
88 | 88 |
server { |
89 |
- listen 0.1.2.3:80; |
|
89 |
+ listen 10.10.10.10:80; |
|
90 | 90 |
server_name your.example.com; |
91 | 91 |
|
92 | 92 |
root /var/www/mirrors/torproject.org; |
93 | 93 |
index index.html.en; |
94 |
+ |
|
95 |
+ location ^~ /dist/ { |
|
96 |
+ autoindex on; |
|
97 |
+ } |
|
94 | 98 |
} |
95 | 99 |
</pre> |
96 | 100 |
</tt> |
... | ... |
@@ -8,47 +8,47 @@ |
8 | 8 |
<a href="<page index>">Home » </a> |
9 | 9 |
<a href="<page docs/documentation>">Documentation » </a> |
10 | 10 |
<a href="<page docs/running-a-mirror>">Running a Mirror</a> |
11 |
- </div> |
|
12 |
- <div id="maincol"> |
|
11 |
+ </div> |
|
12 |
+ <div id="maincol"> |
|
13 | 13 |
<h1>Tor: Running a Mirror</h1> |
14 | 14 |
<hr> |
15 |
- |
|
15 |
+ |
|
16 | 16 |
<p>Thank you for wanting to mirror the Tor website. All of |
17 | 17 |
our mirrors are publicly listed on <a href="<page getinvolved/mirrors>">our mirrors |
18 | 18 |
page</a>. We've included some sample commands and configuration below |
19 | 19 |
to make the initial setup and ongoing maintenance a minimal effort. |
20 | 20 |
The Tor website and distribution directory currently require 8.0 GB of |
21 | 21 |
disk space.</p> |
22 |
- |
|
22 |
+ |
|
23 | 23 |
<p> |
24 | 24 |
If you would like to run a mirror, it's as easy as this command to download |
25 | 25 |
everything a mirror should share with the world: |
26 | 26 |
<br> <br> |
27 | 27 |
<tt> |
28 |
- rsync -av --delete rsync://rsync.torproject.org/tor tor-mirror/ |
|
28 |
+ rsync -av --delete rsync://rsync.torproject.org/website-mirror tor-mirror/ |
|
29 | 29 |
</tt> |
30 |
- |
|
30 |
+ |
|
31 | 31 |
<p> |
32 | 32 |
In order to assure we have reliable and up to date mirrors, |
33 | 33 |
please ensure your mirror does at least the following:<br/><br/> |
34 |
- |
|
34 |
+ |
|
35 | 35 |
Updates <b>no less</b> than every six hours, but no more frequent than every |
36 | 36 |
hour.<br/><br/> |
37 |
- |
|
37 |
+ |
|
38 | 38 |
Allows "Directory Index / Indexes" (Index viewing) of the /dist |
39 | 39 |
directory.<br/><br/> |
40 |
- |
|
40 |
+ |
|
41 | 41 |
Allows "Multiviews" or equivalent for language localization.<br/><br/> |
42 |
- |
|
42 |
+ |
|
43 | 43 |
Have a valid contact email for administrative communications should your |
44 | 44 |
server have issues.<br/><br/> |
45 |
- |
|
45 |
+ |
|
46 | 46 |
It is highly recommended for all mirror operators to subscribe to <A |
47 | 47 |
href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors">tor-mirrors mailing |
48 | 48 |
list</A> where all mirror listing modification requests should go (ADD, |
49 | 49 |
CHANGE, DELETE, any other requests/notifications). Also, any technical |
50 | 50 |
assistance in setting up your mirror may be found here as well.<br/><br/> |
51 |
- |
|
51 |
+ |
|
52 | 52 |
</p> |
53 | 53 |
<br><br> |
54 | 54 |
<p> |
... | ... |
@@ -56,7 +56,7 @@ |
56 | 56 |
<tt> |
57 | 57 |
<pre> |
58 | 58 |
# m h dom mon dow command |
59 |
- 0 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/tor/ /var/www/mirrors/torproject.org |
|
59 |
+ 0 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org |
|
60 | 60 |
</pre> |
61 | 61 |
</tt> |
62 | 62 |
</p> |
... | ... |
@@ -68,15 +68,15 @@ |
68 | 68 |
<VirtualHost 0.1.2.3:80> |
69 | 69 |
ServerAdmin youremail@example.com<br/> |
70 | 70 |
ServerName 0.1.2.3<br/> |
71 |
- |
|
71 |
+ |
|
72 | 72 |
DocumentRoot /var/www/mirrors/torproject.org<br/> |
73 |
- |
|
73 |
+ |
|
74 | 74 |
<Directory /var/www/mirrors/torproject.org/><br/> |
75 | 75 |
Options MultiViews Indexes<br/> |
76 | 76 |
DirectoryIndex index<br/> |
77 | 77 |
AllowOverride None<br/> |
78 | 78 |
</Directory><br/> |
79 |
- |
|
79 |
+ |
|
80 | 80 |
</VirtualHost> |
81 | 81 |
</pre> |
82 | 82 |
</tt> |
... | ... |
@@ -107,12 +107,12 @@ |
107 | 107 |
task with something like '<tt>cron</tt>'). Our website, source code and |
108 | 108 |
binary releases change often. An update frequency of six hours is recommended. Tor users everywhere will thank you. |
109 | 109 |
</p> |
110 |
- <br/> |
|
110 |
+ <br/> |
|
111 | 111 |
<p> |
112 | 112 |
If you are running a mirror, please subscribe to the <A |
113 | 113 |
href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors">tor-mirrors |
114 | 114 |
mailing list</A>, and introduce yourself there. |
115 |
- We will add you to the mirror list. |
|
115 |
+ We will add you to the mirror list. |
|
116 | 116 |
Help for mirror support and configuration issues may also be found on the list. |
117 | 117 |
</p> |
118 | 118 |
</div> |
... | ... |
@@ -124,4 +124,4 @@ |
124 | 124 |
<!-- END SIDECOL --> |
125 | 125 |
</div> |
126 | 126 |
<!-- END CONTENT --> |
127 |
-#include <foot.wmi> |
|
127 |
+#include <foot.wmi> |
... | ... |
@@ -17,7 +17,7 @@ |
17 | 17 |
our mirrors are publicly listed on <a href="<page getinvolved/mirrors>">our mirrors |
18 | 18 |
page</a>. We've included some sample commands and configuration below |
19 | 19 |
to make the initial setup and ongoing maintenance a minimal effort. |
20 |
- The Tor website and distribution directory currently require 5.0 GB of |
|
20 |
+ The Tor website and distribution directory currently require 8.0 GB of |
|
21 | 21 |
disk space.</p> |
22 | 22 |
|
23 | 23 |
<p> |
... | ... |
@@ -80,7 +80,29 @@ |
80 | 80 |
</VirtualHost> |
81 | 81 |
</pre> |
82 | 82 |
</tt> |
83 |
- <br/> <br/> |
|
83 |
+ <br/> |
|
84 |
+ For mirror operators that use nginx, we created a sample virtual host |
|
85 |
+ configuration file to use: |
|
86 |
+ <tt> |
|
87 |
+ <pre> |
|
88 |
+ server { |
|
89 |
+ listen 0.1.2.3:80; |
|
90 |
+ server_name your.example.com; |
|
91 |
+ |
|
92 |
+ root /var/www/mirrors/torproject.org; |
|
93 |
+ index index.html.en; |
|
94 |
+ } |
|
95 |
+ </pre> |
|
96 |
+ </tt> |
|
97 |
+ <br/> |
|
98 |
+ If you use nginx, please ensure the text/html line in |
|
99 |
+ <tt>/etc/ngnix/mime.types</tt> matches: |
|
100 |
+ <tt> |
|
101 |
+ <pre> |
|
102 |
+ text/html en html htm shtml; |
|
103 |
+ </pre> |
|
104 |
+ </tt> |
|
105 |
+ <br/><br> |
|
84 | 106 |
Please ensure that you keep your mirror updated (we suggest automating this |
85 | 107 |
task with something like '<tt>cron</tt>'). Our website, source code and |
86 | 108 |
binary releases change often. An update frequency of six hours is recommended. Tor users everywhere will thank you. |
... | ... |
@@ -87,8 +87,9 @@ |
87 | 87 |
</p> |
88 | 88 |
<br/> |
89 | 89 |
<p> |
90 |
- If you are running a mirror, please subscribe to the |
|
91 |
- <A href="http://archives.seul.org/tor/mirrors/">tor-mirrors mailing list</A>, and introduce yourself there. |
|
90 |
+ If you are running a mirror, please subscribe to the <A |
|
91 |
+ href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors">tor-mirrors |
|
92 |
+ mailing list</A>, and introduce yourself there. |
|
92 | 93 |
We will add you to the mirror list. |
93 | 94 |
Help for mirror support and configuration issues may also be found on the list. |
94 | 95 |
</p> |
... | ... |
@@ -44,7 +44,7 @@ |
44 | 44 |
server have issues.<br/><br/> |
45 | 45 |
|
46 | 46 |
It is highly recommended for all mirror operators to subscribe to <A |
47 |
- href="http://archives.seul.org/tor/mirrors/">tor-mirrors mailing |
|
47 |
+ href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors">tor-mirrors mailing |
|
48 | 48 |
list</A> where all mirror listing modification requests should go (ADD, |
49 | 49 |
CHANGE, DELETE, any other requests/notifications). Also, any technical |
50 | 50 |
assistance in setting up your mirror may be found here as well.<br/><br/> |
... | ... |
@@ -11,7 +11,7 @@ |
11 | 11 |
</div> |
12 | 12 |
<div id="maincol"> |
13 | 13 |
<h1>Tor: Running a Mirror</h1> |
14 |
- <hr /> |
|
14 |
+ <hr> |
|
15 | 15 |
|
16 | 16 |
<p>Thank you for wanting to mirror the Tor website. All of |
17 | 17 |
our mirrors are publicly listed on <a href="<page getinvolved/mirrors>">our mirrors |
... | ... |
@@ -23,7 +23,7 @@ |
23 | 23 |
<p> |
24 | 24 |
If you would like to run a mirror, it's as easy as this command to download |
25 | 25 |
everything a mirror should share with the world: |
26 |
- <br /> <br /> |
|
26 |
+ <br> <br> |
|
27 | 27 |
<tt> |
28 | 28 |
rsync -av --delete rsync://rsync.torproject.org/tor tor-mirror/ |
29 | 29 |
</tt> |
... | ... |
@@ -50,7 +50,7 @@ |
50 | 50 |
assistance in setting up your mirror may be found here as well.<br/><br/> |
51 | 51 |
|
52 | 52 |
</p> |
53 |
- <br /><br /> |
|
53 |
+ <br><br> |
|
54 | 54 |
<p> |
55 | 55 |
An example cronjob to update a full mirror once every 6 hours may look like so: |
56 | 56 |
<tt> |
... | ... |
@@ -5,7 +5,7 @@ |
5 | 5 |
#include "head.wmi" TITLE="Tor: Running a Mirror" CHARSET="UTF-8" |
6 | 6 |
<div id="content" class="clearfix"> |
7 | 7 |
<div id="breadcrumbs"> |
8 |
- <a href="<page home>">Home » </a> |
|
8 |
+ <a href="<page index>">Home » </a> |
|
9 | 9 |
<a href="<page docs/documentation>">Documentation » </a> |
10 | 10 |
<a href="<page docs/running-a-mirror>">Running a Mirror</a> |
11 | 11 |
</div> |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,104 @@ |
1 |
+## translation metadata |
|
2 |
+# Revision: $Revision: 22356 $ |
|
3 |
+# Translation-Priority: 4-optional |
|
4 |
+ |
|
5 |
+#include "head.wmi" TITLE="Tor: Running a Mirror" CHARSET="UTF-8" |
|
6 |
+<div id="content" class="clearfix"> |
|
7 |
+ <div id="breadcrumbs"> |
|
8 |
+ <a href="<page home>">Home » </a> |
|
9 |
+ <a href="<page docs/documentation>">Documentation » </a> |
|
10 |
+ <a href="<page docs/running-a-mirror>">Running a Mirror</a> |
|
11 |
+ </div> |
|
12 |
+ <div id="maincol"> |
|
13 |
+ <h1>Tor: Running a Mirror</h1> |
|
14 |
+ <hr /> |
|
15 |
+ |
|
16 |
+ <p>Thank you for wanting to mirror the Tor website. All of |
|
17 |
+ our mirrors are publicly listed on <a href="<page getinvolved/mirrors>">our mirrors |
|
18 |
+ page</a>. We've included some sample commands and configuration below |
|
19 |
+ to make the initial setup and ongoing maintenance a minimal effort. |
|
20 |
+ The Tor website and distribution directory currently require 5.0 GB of |
|
21 |
+ disk space.</p> |
|
22 |
+ |
|
23 |
+ <p> |
|
24 |
+ If you would like to run a mirror, it's as easy as this command to download |
|
25 |
+ everything a mirror should share with the world: |
|
26 |
+ <br /> <br /> |
|
27 |
+ <tt> |
|
28 |
+ rsync -av --delete rsync://rsync.torproject.org/tor tor-mirror/ |
|
29 |
+ </tt> |
|
30 |
+ |
|
31 |
+ <p> |
|
32 |
+ In order to assure we have reliable and up to date mirrors, |
|
33 |
+ please ensure your mirror does at least the following:<br/><br/> |
|
34 |
+ |
|
35 |
+ Updates <b>no less</b> than every six hours, but no more frequent than every |
|
36 |
+ hour.<br/><br/> |
|
37 |
+ |
|
38 |
+ Allows "Directory Index / Indexes" (Index viewing) of the /dist |
|
39 |
+ directory.<br/><br/> |
|
40 |
+ |
|
41 |
+ Allows "Multiviews" or equivalent for language localization.<br/><br/> |
|
42 |
+ |
|
43 |
+ Have a valid contact email for administrative communications should your |
|
44 |
+ server have issues.<br/><br/> |
|
45 |
+ |
|
46 |
+ It is highly recommended for all mirror operators to subscribe to <A |
|
47 |
+ href="http://archives.seul.org/tor/mirrors/">tor-mirrors mailing |
|
48 |
+ list</A> where all mirror listing modification requests should go (ADD, |
|
49 |
+ CHANGE, DELETE, any other requests/notifications). Also, any technical |
|
50 |
+ assistance in setting up your mirror may be found here as well.<br/><br/> |
|
51 |
+ |
|
52 |
+ </p> |
|
53 |
+ <br /><br /> |
|
54 |
+ <p> |
|
55 |
+ An example cronjob to update a full mirror once every 6 hours may look like so: |
|
56 |
+ <tt> |
|
57 |
+ <pre> |
|
58 |
+ # m h dom mon dow command |
|
59 |
+ 0 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/tor/ /var/www/mirrors/torproject.org |
|
60 |
+ </pre> |
|
61 |
+ </tt> |
|
62 |
+ </p> |
|
63 |
+ <br/> |
|
64 |
+ For mirror operators that use Apache, we have created a sample virtual host |
|
65 |
+ configuration file to use: |
|
66 |
+ <tt> |
|
67 |
+ <pre> |
|
68 |
+ <VirtualHost 0.1.2.3:80> |
|
69 |
+ ServerAdmin youremail@example.com<br/> |
|
70 |
+ ServerName 0.1.2.3<br/> |
|
71 |
+ |
|
72 |
+ DocumentRoot /var/www/mirrors/torproject.org<br/> |
|
73 |
+ |
|
74 |
+ <Directory /var/www/mirrors/torproject.org/><br/> |
|
75 |
+ Options MultiViews Indexes<br/> |
|
76 |
+ DirectoryIndex index<br/> |
|
77 |
+ AllowOverride None<br/> |
|
78 |
+ </Directory><br/> |
|
79 |
+ |
|
80 |
+ </VirtualHost> |
|
81 |
+ </pre> |
|
82 |
+ </tt> |
|
83 |
+ <br/> <br/> |
|
84 |
+ Please ensure that you keep your mirror updated (we suggest automating this |
|
85 |
+ task with something like '<tt>cron</tt>'). Our website, source code and |
|
86 |
+ binary releases change often. An update frequency of six hours is recommended. Tor users everywhere will thank you. |
|
87 |
+ </p> |
|
88 |
+ <br/> |
|
89 |
+ <p> |
|
90 |
+ If you are running a mirror, please subscribe to the |
|
91 |
+ <A href="http://archives.seul.org/tor/mirrors/">tor-mirrors mailing list</A>, and introduce yourself there. |
|
92 |
+ We will add you to the mirror list. |
|
93 |
+ Help for mirror support and configuration issues may also be found on the list. |
|
94 |
+ </p> |
|
95 |
+ </div> |
|
96 |
+ <!-- END MAINCOL --> |
|
97 |
+ <div id = "sidecol"> |
|
98 |
+#include "side.wmi" |
|
99 |
+#include "info.wmi" |
|
100 |
+ </div> |
|
101 |
+ <!-- END SIDECOL --> |
|
102 |
+</div> |
|
103 |
+<!-- END CONTENT --> |
|
104 |
+#include <foot.wmi> |