Need some help with rewrite rule translation
Jonathan Matthews
contact at jpluscplusm.com
Thu Jun 13 20:51:34 UTC 2013
On 13 June 2013 09:38, <mailinglisten at simonhoenscheid.de> 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.
Jonathan
--
Jonathan Matthews // Oxford, London, UK
http://www.jpluscplusm.com/contact.html
More information about the nginx
mailing list