server {
listen 8000;
root html;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
}
已经使用autoindex on;开启列表功能,但是访问localhost:8000还是显示index.html的内容
server {
listen 8000;
root html;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
}
已经使用autoindex on;开启列表功能,但是访问localhost:8000还是显示index.html的内容
2 回答997 阅读
1 回答764 阅读✓ 已解决
1 回答639 阅读
674 阅读
398 阅读
有index.html就会显示index.html,你可以把index配置关掉