转: https://blog.csdn.net/z8853797/article/details/53898031

server {
listen       80;
server_name  localhost;

location / {
try_files '' /index.html;
}

location =/index.html {
index  index.html index.htm;
}
}

发表评论

邮箱地址不会被公开。 必填项已用*标注