Nginx's enumerating file list function cannot be turned on?

server {
        listen 8000;
        root html;
        autoindex on;
        autoindex_exact_size off;
        autoindex_localtime on;

}

the list function has been enabled using autoindex on;, but accessing localhost:8000 still displays the contents of index.html

Jan.19,2022

if there is index.html, index.html, will be displayed. You can turn off the index configuration

Menu