[tor-mirrors] Update nginx configuration on website

Tor Admin tor at linuxlounge.net
Sat Mar 16 16:11:41 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I don't know who is responsible for the mirror instructions webpage at
> https://www.torproject.org/docs/running-a-mirror.html.en
but I'd like him/her to update the nginx configuration to include a
directory index for the dist-directory.

server {
    listen 0.1.2.3:80;
    server_name your.example.com;

    root /var/www/mirrors/torproject.org;
    index index.html.en;

    location ^~ /dist/ {
        autoindex on;
    }
}

I am no nginx expert but this would be the conclusion of this bullet
point:
> Allows "Directory Index / Indexes" (Index viewing) of the /dist
directory.


Martin Weinelt


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJRRJm9AAoJEM1jnLOhksr3PXAP/01U0O1b+2An+0Nr6OKV3f6A
cYVJy3Fia1ho8YZ9SuMjZKxyjtNztS5A67CSGo0NQ9YyAjwSbzgWyDAmXOn+yWdh
rMhMFIpYJ+FBSOa3e00ZsTM36oelACHgRUXnOyuQesanovlVMYyArWos9e4bZ/+a
Blb0nMHs56INHKivFfHs2LX7+Qfo7gKj3ZMZOGKIOdPuOe6Zz10trhw62orEY9j/
HlSRlCBx5b7w0aNEPHSC+QEw2RXuQG2vQUTEe0gen8bhw9tM9nPYYOuEEI9hubAJ
FJJBtR9/wzW0Sos658NbRa1N/87TRHVsnCmz1WoR3N2w9DMNTkk88PWPdp1KQeGL
z2nyYIkWEM+u3DISeO+rVQ7fjdh0QBckHzSRZWAXOGNN/S4BwelErWvtRLT1uhnP
ltxmDuXRWOfz2bkjgTV6C2H/gP6/fZsyWBTaimdEqT8P8m9FpwGb3ROPsBNMDDP0
O+OvRqh6ACDDS9ZiAuFXsrhsGeTj64QblBcCDf/F4UY5wWKO8ICPd49r1GKivvie
fLvOt8hzqaUpfAqiWmgSzbZu834yrUl6UheH49v1hLREqMER7pn9wpeY6p7ikq7L
0Vp4+YosmxeSPSQ5dqWcE5BFn2NjEuomGxFq8M0Qyz7nuZRwEFKYyPxkaO1vB9Zt
vVkTrxo3fTWBexDaRc+q
=KsfW
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xA192CAF7.asc
Type: application/pgp-keys
Size: 6338 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-mirrors/attachments/20130316/b3978c5f/attachment.key>


More information about the tor-mirrors mailing list