Andrew Lewman commited on 2012-01-21 21:59:32
              Zeige 1 geänderte Dateien mit 23 Einfügungen und 1 Löschungen.
            
| ... | ... | 
                      @@ -80,7 +80,29 @@  | 
                  
| 80 | 80 | 
                        </VirtualHost>  | 
                    
| 81 | 81 | 
                        </pre>  | 
                    
| 82 | 82 | 
                        </tt>  | 
                    
| 83 | 
                        - <br/> <br/>  | 
                    |
| 83 | 
                        + <br/>  | 
                    |
| 84 | 
                        + For mirror operators that use nginx, we created a sample virtual host  | 
                    |
| 85 | 
                        + configuration file to use:  | 
                    |
| 86 | 
                        + <tt>  | 
                    |
| 87 | 
                        + <pre>  | 
                    |
| 88 | 
                        +    server {
                       | 
                    |
| 89 | 
                        + listen 0.1.2.3:80;  | 
                    |
| 90 | 
                        + server_name your.example.com;  | 
                    |
| 91 | 
                        +  | 
                    |
| 92 | 
                        + root /var/www/mirrors/torproject.org;  | 
                    |
| 93 | 
                        + index index.html.en;  | 
                    |
| 94 | 
                        + }  | 
                    |
| 95 | 
                        + </pre>  | 
                    |
| 96 | 
                        + </tt>  | 
                    |
| 97 | 
                        + <br/>  | 
                    |
| 98 | 
                        + If you use nginx, please ensure the text/html line in  | 
                    |
| 99 | 
                        + <tt>/etc/ngnix/mime.types</tt> matches:  | 
                    |
| 100 | 
                        + <tt>  | 
                    |
| 101 | 
                        + <pre>  | 
                    |
| 102 | 
                        + text/html en html htm shtml;  | 
                    |
| 103 | 
                        + </pre>  | 
                    |
| 104 | 
                        + </tt>  | 
                    |
| 105 | 
                        + <br/><br>  | 
                    |
| 84 | 106 | 
                        Please ensure that you keep your mirror updated (we suggest automating this  | 
                    
| 85 | 107 | 
                        task with something like '<tt>cron</tt>'). Our website, source code and  | 
                    
| 86 | 108 | 
                        binary releases change often. An update frequency of six hours is recommended. Tor users everywhere will thank you.  | 
                    
| 87 | 109 |