This commit is contained in:
tuend-work
2025-11-13 07:41:56 +07:00
parent 7f357f3a30
commit 4478491d73
1729 changed files with 193578 additions and 20 deletions

View File

@@ -0,0 +1,15 @@
|*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|
}
}