Change nginx autoindex output format
You have to involve some scripting to make it work. Most what you can get with nginx configuration is custom footer and header.
By the way, developers looks forward to adding xml index module to nginx.
Starting from version 1.7.9 you can use:
autoindex on;autoindex_format xml;
See the docs: http://nginx.org/r/autoindex_format