Knowledgebase

How to open directories in nginx?

Posted by reasonpolice, 10-20-2009, 01:26 AM
Anyone have step by step instructions for how to make web directories without an index file publicly accessible? So when you go to mywebsite.com/Files you can download the files in that directory through the browser Or is there a workaround, some easy way to make an index file that lists all the files in that directory. thx

Posted by foobic, 10-20-2009, 01:33 AM
either in .htaccess or the website's virtualhost config (in which case you'd probably want to put it inside a container). Edit: B....r! Note to self: Must read title! Under nginx I believe the option you want is "autoindex on". Last edited by foobic; 10-20-2009 at 01:40 AM.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Stargate Down? (Views: 644)


Language:

Client Login

Email

Password

Remember Me

Search