Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nginx and favicon.ico - "GET /favicon.ico HTTP/1.1" FAILED

Tags:

nginx

How to I get rid of all the below errors in nginx. I do not have a favicon.ico

2012/03/11 17:13:25 [error] 959#0: *116 open() "/usr/local/nginx/html/favicon.ico" failed (2: No such file or directory), client: 111.68.59.75, server: 127.0.0.1, request: "GET /favicon.ico HTTP/1.1"   

I would imagine some line in nginx conf?

like image 528
Tampa Avatar asked Mar 11 '12 17:03

Tampa


1 Answers

location = /favicon.ico {   log_not_found off; } 
like image 88
Alexander Azarov Avatar answered Sep 29 '22 20:09

Alexander Azarov