[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [webwml/staging] Tweak running-mirrors layout some more



commit 2038af2c2083b2ff9cea5cf6e775d4f70929a78c
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date:   Sun Oct 19 14:44:45 2014 +0200

    Tweak running-mirrors layout some more
---
 docs/en/running-a-mirror.wml |   29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/docs/en/running-a-mirror.wml b/docs/en/running-a-mirror.wml
index ae2afb5..cf3bbc9 100644
--- a/docs/en/running-a-mirror.wml
+++ b/docs/en/running-a-mirror.wml
@@ -23,7 +23,7 @@
     <p>
     If you would like to run a mirror, it's as easy as these commands to download
     everything a mirror should share with the world:
-    <br> <br>
+    </p>
     <tt>
 <pre>
 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/
     <br><br>
     <p>
     An example cronjob to update a full mirror once every 6 hours may look like so:
+    </p>
     <tt>
 <pre>
 # m h  dom mon dow   command
@@ -61,30 +62,31 @@ rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/
 5 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/torproject.org/dist
 </pre>
     </tt>
-    </p>
-    <br/>
+    <p>
     For mirror operators that use Apache, we have created a sample virtual host
     configuration file to use:
+    </p>
     <tt>
 <pre>
 &lt;VirtualHost 10.10.10.10:80&gt;
-        ServerAdmin youremail@xxxxxxxxxxx<br/>
-        ServerName  ServerNameHere<br/>
+    ServerAdmin youremail@xxxxxxxxxxx<br/>
+    ServerName  ServerNameHere<br/>
 
-        DocumentRoot /var/www/mirrors/torproject.org<br/>
+    DocumentRoot /var/www/mirrors/torproject.org<br/>
 
-        &lt;Directory /var/www/mirrors/torproject.org/&gt;<br/>
-            Options MultiViews Indexes<br/>
-            DirectoryIndex index<br/>
-            AllowOverride None<br/>
-        &lt;/Directory&gt;<br/>
+    &lt;Directory /var/www/mirrors/torproject.org/&gt;<br/>
+        Options MultiViews Indexes<br/>
+        DirectoryIndex index<br/>
+        AllowOverride None<br/>
+    &lt;/Directory&gt;<br/>
 
 &lt;/VirtualHost&gt;
 </pre>
     </tt>
-    <br/>
+    <p>
     For mirror operators that use nginx, we created a sample virtual host
     configuration file to use:
+    </p>
     <tt>
 <pre>
 server {
@@ -100,9 +102,10 @@ server {
 }
 </pre>
     </tt>
-    <br/>
+    <p>
     If you use nginx, please ensure the text/html line in
     <tt>/etc/nginx/mime.types</tt> matches:
+    </p>
     <tt>
 <pre>
 text/html                             en html htm shtml;

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits