Darn, I just did this recently on FreeBSD, but I believe it's platform agnostic.
In your nginx configuration file, set autoindex to on.
https://stackoverflow.com/questions/...e-browser-mode
There may also be a size directive. I used autoindex_exact_size off;
But I'm not sure if that's necessary.