nginx防盗链配置
十一月 27th, 2009 Posted in Nginx | 阅读次数: 315 次
原文:http://sudone.com/nginx/nginx_valid_referers.html
以下配置一般可称为图片防盗链配置,如果是mp3这种文件,我现在是用的cookie防盗链方式。
location /img/ {
alias /data/img/;
valid_referers none blocked server_names *.sudone.com sudone.com ;
if ($invalid_referer) {return 403;}
}
五月 9th, 2011 at 20:32
Interesting Posts…
[...]some other related resources on the web that are worth viewing on this subject include[...]…
五月 10th, 2011 at 09:00
Interesting Article…
[...]some interesting sites worth visitng. We recommend all our readers go and check these out[...]……
六月 21st, 2011 at 16:23
Awesome website……
[...]the time to read or visit the content or sites we have linked to below the[...]………
六月 23rd, 2011 at 04:24
Cool sites……
[...]we came across a cool site that you might enjoy. Take a look if you want[...]………
六月 23rd, 2011 at 07:32
Check this out……
[...] that is the end of this article. Here you’ll find some sites that we think you’ll appreciate, just click the links over[...]………