Browse code

Update mirroring instructions based on feedback by weasel

Sebastian Hahn authored on 19/10/2014 13:35:37
Showing 1 changed files
... ...
@@ -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
     }