autoindex on;
    autoindex_exact_size off;
    autoindex_localtime on;

    | Syntax: | autoindex on | off;

    | | —- | —- | | Default: | autoindex off; | | Context: | http, server, location

    |

    | Syntax: | autoindex_exact_size on | off;

    | | —- | —- | | Default: | autoindex_exact_size on; | | Context: | http, server, location |

    | Syntax: | autoindex_format html | xml | json | jsonp;

    | | —- | —- | | Default: | autoindex_format html; | | Context: | http, server, location |

    列表格式

    | Syntax: | autoindex_localtime on | off;

    | | —- | —- | | Default: | autoindex_localtime off; | | Context: | http, server, location |

    默认值 off 显示为 GMT 时间
    on 显示为 本地时间