您好,欢迎访问一九零五行业门户网

nginx报错

在写一个rpc例子,有些php页面可以访问,有些不行并出现这问题,求告知原因
错误日志 2016/07/21 13:35:41 [error] 9212#7620: *1 createfile() d:nginxnginx-1.11.2nginx-1.11.2/html/favicon.ico failed (2: the system cannot find the file specified), client: 127.0.0.1, server: localhost, request: get /favicon.ico http/1.1, host: localhost
回复内容:
在写一个rpc例子,有些php页面可以访问,有些不行并出现这问题,求告知原因
错误日志 2016/07/21 13:35:41 [error] 9212#7620: *1 createfile() d:nginxnginx-1.11.2nginx-1.11.2/html/favicon.ico failed (2: the system cannot find the file specified), client: 127.0.0.1, server: localhost, request: get /favicon.ico http/1.1, host: localhost
日志拿得不对,再找找,通过日志里的路径找。
从日志上看是不能找到favicon.ico 哎,
尝试在http.conf中添加配置试试
location = /favicon.ico { log_not_found off;}
其它类似信息

推荐信息