howto 

Send to Kindle
home » snippets » nginx » howto



Enable directory listing

Use the ngx_http_autoindex_module

# Example.
location / {
    root /wwroot;
    autoindex on;  # Show directory listings.
    autoindex_exact_size off;  # Display human readable sizes.
}