i can't get an answer to nginx question in an nginx.org's forum. EPICby wickedsunny - How to...
Anyone ?by wickedsunny - How to...
Hello, I did a little rewrite rule a little while ago to redirect ppl who directly access my site's image to image pages instead, for example a person accessing www.mysite.com/i/asdf.jpg to www.mysite.com/pic/asdf this is the rewrite rule i used : location /i/image_(\d+).(gif|jpg|jpeg|png)$ { root /home/mysite/public_html; valid_referers www.mysite.com mysite.com; if ($invalid_by wickedsunny - How to...
Hello, i am having image hotlink protection problem in my nginx need help. i have a huge issue of my site's images being submited to social networks like stumbleupon with direct link ... xxxxx.jpg which some times get huge traffic and increases cpu usage plus bandwidth usage. what i am trying to do is block direct access to image from other refrers and hotlink protection. Here is the codeby wickedsunny - How to...
Thank u so much let me give it a try . and will get back to u . cheersby wickedsunny - Nginx Mailing List - English
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/.*$ RewriteRule i/image_(\d+)\.(jpg|jpeg|gif) pic/by wickedsunny - Nginx Mailing List - English