I installed nginx with the intent of serving static files like photos and videos, being able to programmatically list the files served.
The problem is that this listing is done in a HTML page and for my application I needed to be able to process this listing (something like json or xml).
Is there anyway I can do this with nginx? (Or are there any other alternatives which solve my problem)
Thanks in advance.
Solved the problem by adding a php script to the server to list the files.