返回http代码,比如设置nginx防盗链:
location ~* \.(gif|jpg|png|swf|flv)$ {
valid_referers none blocked www.downcc.com www.test1.com;
if ($invalid_referer) {
return 404;
}
}
返回http代码,比如设置nginx防盗链:
location ~* \.(gif|jpg|png|swf|flv)$ {
valid_referers none blocked www.downcc.com www.test1.com;
if ($invalid_referer) {
return 404;
}
}