Nginx
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
valid_referers none blocked *.tappal.com tappal.com;
if ($invalid_referer) {
return 404;
}
expires 30d;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
valid_referers none blocked *.tappal.com tappal.com;
if ($invalid_referer) {
return 404;
}
expires 30d;
}
本文标题:防盗链
本文链接:https://www.haomeiwen.com/subject/mucdqxtx.html
网友评论