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

[tor-commits] [webwml/staging] Fix some <pre> on running-a-mirror



commit fddc41c52bdc658fee75ad3f6351e2ae14b6f6f9
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date:   Sun Oct 19 13:44:07 2014 +0200

    Fix some <pre> on running-a-mirror
---
 docs/en/running-a-mirror.wml |   68 +++++++++++++++++++++---------------------
 1 file changed, 34 insertions(+), 34 deletions(-)

diff --git a/docs/en/running-a-mirror.wml b/docs/en/running-a-mirror.wml
index 371566b..ae2afb5 100644
--- a/docs/en/running-a-mirror.wml
+++ b/docs/en/running-a-mirror.wml
@@ -25,10 +25,10 @@
     everything a mirror should share with the world:
     <br> <br>
     <tt>
-    <pre>
-    rsync -av --exclude 'dist' --delete rsync://rsync.torproject.org/website-mirror tor-mirror/
-    rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/
-    </pre>
+<pre>
+rsync -av --exclude 'dist' --delete rsync://rsync.torproject.org/website-mirror tor-mirror/
+rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/
+</pre>
     </tt>
 
     <p>
@@ -55,58 +55,58 @@
     <p>
     An example cronjob to update a full mirror once every 6 hours may look like so:
     <tt>
-    <pre>
-    # m h  dom mon dow   command
-    0 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org
-    5 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/torproject.org/dist
-    </pre>
+<pre>
+# m h  dom mon dow   command
+0 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org
+5 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/dist-mirror/ /var/www/mirrors/torproject.org/dist
+</pre>
     </tt>
     </p>
     <br/>
     For mirror operators that use Apache, we have created a sample virtual host
     configuration file to use:
     <tt>
-    <pre>
-    &lt;VirtualHost 10.10.10.10:80&gt;
-            ServerAdmin youremail@xxxxxxxxxxx<br/>
-            ServerName  ServerNameHere<br/>
+<pre>
+&lt;VirtualHost 10.10.10.10:80&gt;
+        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>
+&lt;/VirtualHost&gt;
+</pre>
     </tt>
     <br/>
     For mirror operators that use nginx, we created a sample virtual host
     configuration file to use:
     <tt>
-    <pre>
-    server {
-    	listen 10.10.10.10:80;
-  	server_name your.example.com;
+<pre>
+server {
+    listen 10.10.10.10:80;
+    server_name your.example.com;
 
-  	root /var/www/mirrors/torproject.org;
-	index index.html.en;
+    root /var/www/mirrors/torproject.org;
+    index index.html.en;
 
-	location  / {
-	  autoindex on;
-      }
+    location  / {
+        autoindex on;
     }
-    </pre>
+}
+</pre>
     </tt>
     <br/>
     If you use nginx, please ensure the text/html line in
     <tt>/etc/nginx/mime.types</tt> matches:
     <tt>
-    <pre>
-    text/html                             en html htm shtml;
-    </pre>
+<pre>
+text/html                             en html htm shtml;
+</pre>
     </tt>
     <br/><br>
     Please ensure that you keep your mirror updated (we suggest automating this

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