Anton Yuzhaninov Wrote:
-------------------------------------------------------
> > rewrite ^/favicon.ico /var/www/media/images/favicon.X.ico last;
>
> This is wrong - you can rewrite to other location, not to path on file
> system.
> Anyway rewrite does not need here, use location.
Sorry, my bad! In the second case, I meant rewrite ^/favicon.ico /media/images/favicon.X.ico last;
but anyway, it seems that location works better in general.