nginx error

WBOY
Release: 2016-08-04 09:20:19
Original
1668 people have browsed it

nginx error

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"

Reply content:

nginx error

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>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template