hotlink protection with rewrite

vicky007 nginx-forum at
Sun Jan 10 21:29:11 MSK 2010

I moved from apache to nginx few quite busy websites and currently I need help with hotlink protection of swf/flt files. I can send hotlinking domains to 403, but I want to supply them with for example hotlink.swf file of my own. 

I have not figured out how to rewrite the url in case of referer other than my own domains. Would anyone be so kind and advise me in this? 

Thank you..


Posted at Nginx Forum:,39501,39501#msg-39501

More information about the nginx mailing list