Sebastian Hahn commited on 2014-10-19 14:45:22
Zeige 1 geänderte Dateien mit 8 Einfügungen und 5 Löschungen.
... | ... |
@@ -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,10 +62,10 @@ 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> |
... | ... |
@@ -82,9 +83,10 @@ rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ |
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; |
109 | 112 |