0 down vote favorite
hello everyone, i just installed nginx up and running for serving static content on my site. it works great but the apache rewrite rule about images (ofcourse) stoped working.
and i don't have an idea how to convert .
This is what i was using on apache :
RewriteCond %{HTTP_REFERER} !^http://(www\.)?imgzzz.com/.*$ [NC]
RewriteRule i/image_(\d+)\.(jpg|jpeg|gif) pic/$1 [L]
Its purpose is to redirect directly accessed images to the image page instead. Helps is appreciated
Thanks in advance :)
cheers