ud
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
|*if allow_blank_referer!="yes"|
|
||||
|?ALLOWED_LIST=`ALLOWED_HOTLINK_DOMAINS`|
|
||||
|*else|
|
||||
|?ALLOWED_LIST= none`ALLOWED_HOTLINK_DOMAINS`|
|
||||
|*endif|
|
||||
location ~ \.(|FILES|)$ {
|
||||
valid_referers|ALLOWED_LIST|;
|
||||
if ($invalid_referer) {
|
||||
|*if redirect="forbidden"|
|
||||
return 403;
|
||||
|*else|
|
||||
rewrite (.*)\.(|FILES|)$ |redirect|;
|
||||
|*endif|
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user