Andrew Lewman commited on 2013-03-17 02:34:10
Zeige 1 geänderte Dateien mit 7 Einfügungen und 3 Löschungen.
... | ... |
@@ -65,9 +65,9 @@ |
65 | 65 |
configuration file to use: |
66 | 66 |
<tt> |
67 | 67 |
<pre> |
68 |
- <VirtualHost 0.1.2.3:80> |
|
68 |
+ <VirtualHost 10.10.10.10:80> |
|
69 | 69 |
ServerAdmin youremail@example.com<br/> |
70 |
- ServerName 0.1.2.3<br/> |
|
70 |
+ ServerName ServerNameHere<br/> |
|
71 | 71 |
|
72 | 72 |
DocumentRoot /var/www/mirrors/torproject.org<br/> |
73 | 73 |
|
... | ... |
@@ -86,11 +86,15 @@ |
86 | 86 |
<tt> |
87 | 87 |
<pre> |
88 | 88 |
server { |
89 |
- listen 0.1.2.3:80; |
|
89 |
+ listen 10.10.10.10:80; |
|
90 | 90 |
server_name your.example.com; |
91 | 91 |
|
92 | 92 |
root /var/www/mirrors/torproject.org; |
93 | 93 |
index index.html.en; |
94 |
+ |
|
95 |
+ location ^~ /dist/ { |
|
96 |
+ autoindex on; |
|
97 |
+ } |
|
94 | 98 |
} |
95 | 99 |
</pre> |
96 | 100 |
</tt> |
97 | 101 |