更改nginx.conf
location / {
root html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
autoindex on;
}
更改nginx.conf
location / {
root html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
autoindex on;
}