index模块和autoindex模块:
autoindex on;
location /download
{
#rewrite ^/download$ https://192.168.137.3/download/;
alias /usr/local/nginx/html/;
autoindex on;
index xx.html;
}
指定一个不存在的xx.html文件