以我个人服务器nginx作为示例演示效果
上一篇我们已经安装nginx成功,通过访问 http://49.234.124.114/
如下图所示
1、我们当前访问的http://49.234.124.114/ 最后一个/,会映射到红色方框内的/
2、root html 的意思是 指定映射到根目录(root(/user/local/nginx/))的相对路径 html文件夹下
3、index index.html index.htm 的意思是 起始index文件为 index.htnl或者index.htm