mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-09-29 04:44:52 +02:00
10 lines
196 B
Plaintext
10 lines
196 B
Plaintext
#防盗链配置
|
|
location ~ .*\.(<EXT_NAME>)$
|
|
{
|
|
expires 30d;
|
|
access_log /dev/null;
|
|
valid_referers none blocked <DOMAINS>;
|
|
if ($invalid_referer){
|
|
return <CODE>;
|
|
}
|
|
} |