<div dir="ltr"><div class="gmail_extra">On Thu, Jun 13, 2013 at 4:51 PM, Jonathan Matthews <span dir="ltr"><<a href="mailto:contact@jpluscplusm.com" target="_blank">contact@jpluscplusm.com</a>></span> wrote:<br><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 13 June 2013 09:38,  <<a href="mailto:mailinglisten@simonhoenscheid.de">mailinglisten@simonhoenscheid.de</a>> wrote:<br>


[snip]<br>
>> RewriteRule ^favicon\.ico$ - [R=404,L]<br>
><br>
> location /(^favicon)/(.*\.(ico)) {<br>
> return 404;<br>
<br>
Don't do that. You're only hurting yourself. Just return an empty gif<br>
(<a href="http://wiki.nginx.org/HttpEmptyGifModule" target="_blank">http://wiki.nginx.org/HttpEmptyGifModule</a>) or ico/etc equivalent.<br></blockquote><div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153);display:inline">

​<br>You could also do that:<br>location /favicon.ico {<br>    return 204;<br>    access_log      off;<br>    log_not_found   off;<br>}​</div><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<br>
Jonathan<br>
--<br>
Jonathan Matthews // Oxford, London, UK<br>
<a href="http://www.jpluscplusm.com/contact.html" target="_blank">http://www.jpluscplusm.com/contact.html</a><br>
<div class=""><div class="h5"><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font>
</div></div>