Files
yakpanel-core/vhost/template/nginx/anti.conf

10 lines
196 B
Plaintext
Raw Normal View History

2026-04-07 02:04:22 +05:30
#防盗链配置
location ~ .*\.(<EXT_NAME>)$
{
expires 30d;
access_log /dev/null;
valid_referers none blocked <DOMAINS>;
if ($invalid_referer){
return <CODE>;
}
}