|
nginx
location ~\.html$ {
root html;
index index.html index.htm;
}
location \ {
root html;
index index.html index.htm;
}
location /.html$ {
root html;
index index.html index.htm;
}
location / {
root html;
index index.html index.htm;
}
4个的区别 麻烦解释一下。谢谢 |
|