On 26 Fev 2012 20h43 CET, gpakosz@yahoo.fr wrote:
This is what I usually employ for battling the dreaded missing favicon
error.
location = /favicon.ico {
access_log off;
try_files $uri @empty;
}
location @empty {
empty_gif; # send a in-memory 1x1 transparent GIF
}
If you prefer to just send a 204, do:
location = /favicon.ico {
access_log off;
try_files $uri =204;
}
HTH,
--- appa
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx