On Fri, 14 Jun 2013 09:58:12 +0200, [email protected]
wrote:
> Both solutions look interesting, I will have a look on it.
We use been successfully the "return no content=204" opiton:
location = /favicon.ico { access_log off; log_not_found off; expires
30d; try_files /sites/$server_name/files/favicon.ico $uri =204; }
Meaning that try_files first looks in a directory where we usually keep
favicon.ico and logos (.png, .jpg, etc.), then it tries the user
provied $uri and, if it does not find any then thows out a "no content"
code (204).
There is no need to load one more module (Empty Gif Module) just to do
that.
M.
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx