摘要: 简单一句,root设置的是location匹配路径的查找目录,是从安装目录开始的! 比如 location / { root html; } 匹配到/的时候是从nginx目录下的html目录里找 location /hello { root hello; } 匹配到/hello是从nginx目录下的 阅读全文
posted @ 2016-07-08 15:01 定海神针 阅读(363) 评论(0) 推荐(0) 编辑