[tor-mirrors] Mirror configuration on Nginx

Martin89 martin89 at martin89.de
Tue Jul 31 19:10:02 UTC 2012


On 31.07.2012 20:22, Andrew Lewman wrote:
>     server {
>     	listen 0.1.2.3:80;
>   	server_name your.example.com;
> 
>   	root /var/www/mirrors/torproject.org;
> 	index index.html.en;

I have included here this:

        location ^~ /dist/ {
                autoindex on;
        }

This enabled autoindex for all directorys after tor-miror.tld/dist/.

>     }

regards, Martin
-- 
Email: martin89 at martin89.de
PGP KeyID: 0x9829FB42 http://www.martin89.de/0x9829FB42.asc
www.martin89.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-mirrors/attachments/20120731/6c34b891/attachment.pgp>


More information about the tor-mirrors mailing list