On Thu, Jun 13, 2013 at 4:51 PM, Jonathan Matthews <[email protected]>wrote:
> On 13 June 2013 09:38, <[email protected]> wrote: > [snip] > >> RewriteRule ^favicon\.ico$ - [R=404,L] > > > > location /(^favicon)/(.*\.(ico)) { > > return 404; > > Don't do that. You're only hurting yourself. Just return an empty gif > (http://wiki.nginx.org/HttpEmptyGifModule) or ico/etc equivalent. > You could also do that: location /favicon.ico { return 204; access_log off; log_not_found off; } > Jonathan > -- > Jonathan Matthews // Oxford, London, UK > http://www.jpluscplusm.com/contact.html > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx > --- *B. R.*
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
