[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] r26111: {website} fix up the nginx directions from a tor-mirrors post. (website/trunk/docs/en)
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@xxxxxxxxxxx<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>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits