"./html/itripsearch/index.html" is not found (3: The system cannot find the path specified)

首先分析报这个错的原因是因为用hosts文件里配置的域名访问nginx的时候出现的

"./html/itripsearch/index.html" is not found (3: The system cannot find the path specified)
然后我就到openresty安装目录下的logs下的error.log去查看报错信息也就是标题的报错信息
笔者就被这个问题困扰过两天 百思不得其解
后来我两天之后去试着重新下载了一个32位版本的 把配置文件里的路径改了后测试发现惊奇的可以了
你可能不能理解当时我的感受
"./html/itripsearch/index.html" is not found (3: The system cannot find the path specified)
最后再来写一遍我使用的步骤
首先使用dos命令cd到openresty安装目录下面输入nginx启动 光标在跳但什么都不显示证明启动成功了
然后就可以启动项目然后使用域名访问了