How can I get JSON from Nginx Autoindex?

Posted by Devrim on Server Fault See other posts from Server Fault or by Devrim
Published on 2010-03-17T19:08:40Z Indexed on 2010/03/17 19:11 UTC
Read the original article Hit count: 292

Filed under:

How can I modify to Nginx’s autoindex so that it will generate a JSON version of the index instead of HTML? Or is there a module that already does that?

I want to have this;

http://u.kodingen.com/ClrG

Instead of;

http://u.kodingen.com/Cls2N

This blog writer seems to have done it;

http://u.kodingen.com/Clz3F

http://lamsonproject.net/blog/2009-08-03.html

But he didn't mention how.

© Server Fault or respective owner

Related posts about nginx