[tor-commits] r26111: {website} fix up the nginx directions from a tor-mirrors post. (website/trunk/docs/en)
Andrew Lewman
andrew at torproject.org
Sun Mar 17 01:34:11 UTC 2013
Author: phobos
Date: 2013-03-17 01:34:10 +0000 (Sun, 17 Mar 2013)
New Revision: 26111
Modified:
website/trunk/docs/en/running-a-mirror.wml
Log:
fix up the nginx directions from a tor-mirrors post.
Modified: website/trunk/docs/en/running-a-mirror.wml
===================================================================
--- website/trunk/docs/en/running-a-mirror.wml 2013-03-16 23:47:12 UTC (rev 26110)
+++ website/trunk/docs/en/running-a-mirror.wml 2013-03-17 01:34:10 UTC (rev 26111)
@@ -65,9 +65,9 @@
configuration file to use:
<tt>
<pre>
- <VirtualHost 0.1.2.3:80>
+ <VirtualHost 10.10.10.10:80>
ServerAdmin youremail at example.com<br/>
- ServerName 0.1.2.3<br/>
+ ServerName ServerNameHere<br/>
DocumentRoot /var/www/mirrors/torproject.org<br/>
@@ -86,11 +86,15 @@
<tt>
<pre>
server {
- listen 0.1.2.3:80;
+ listen 10.10.10.10:80;
server_name your.example.com;
root /var/www/mirrors/torproject.org;
index index.html.en;
+
+ location ^~ /dist/ {
+ autoindex on;
+ }
}
</pre>
</tt>
More information about the tor-commits
mailing list