I am writing an rpc example. Some php pages can be accessed, but some cannot and this problem occurs. Please tell me the reason
Error log 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"
I am writing an rpc example. Some php pages can be accessed, but some cannot and this problem occurs. Please tell me the reason
Error log 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"
If you get the wrong log, look for it again and use the path in the log to find it.
It can’t be found from the log favicon.ico
Hey,
Try adding configuration in http.conf
<code>location = /favicon.ico { log_not_found off; }</code>