Here is a simple way to enable directory listing in Nginx Webserver.
I have a subdomain repository.wowtutorial.org and i want repository.wowtutorial.org to have ability to listing a directory.

All we need to do just modify the vhosts or nginx.conf
Add autoindex on;

Please see the example below

Example :

#pico /usr/local/etc/nginx/vhosts/repository.wowtutorial.org

ShareThis

ShoutBox


ShoutMix chat widget

User login

Who's online

There are currently 0 users and 8 guests online.


Poll

What is your favorite Virtualization Server ?:
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
3 + 8 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Recent comments

Alexa