4

Hotlink Protection in Nginx working too well in Firefox

view full story
linux-howto

http://serverfault.com – I use hotlink protection in Nginx and it is working very well! For some reason - and the reason for this question - it is not allowing visitors to my site using firefox to see any images, which they should. For IE, Chrome, Safari, and Opera, it works just fine. Images show up on my site but not if you try to hotlink. I checked Firefox on Win and on Mac and it happens in both places. Headers send the same referres (as far as I can see) as does IE and the others. The hotlink protection code looks like so location ~ \.(jpg|jpeg|png|gif|swf)$ { valid_referers server_names blocked *.mysite. (HowTos)