nginx错误处理open() "/opt/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168

open() “/opt/nginx/html/favicon.ico” failed (2: No such file or directory), client: 192.168.92.1, server: localhost, request: “GET /favicon.ico HTTP/1.1”, host: “192.168.92.130”
解决方法:
vi /opt/nginx/conf/nginx.conf
root /opt/nginx/html;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 改路径

你可能感兴趣的:(nginx错误处理open() "/opt/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168)