Directory listing in Nginx
Posted on June 28, 2016 • 1 minutes • 50 words • Suggest Changes
By default, Nginx doesn’t put directory listing on, in a development system that’s a really useful feature (many, many projects) so I tend to put it on. autoindex on;
In the server block under location :
server { location / { autoindex on; } }
Worked like a charm !