This commit is contained in:
tuend-work
2025-11-12 23:24:15 +07:00
parent 525acd79e4
commit 0b28a76e20
954 changed files with 57051 additions and 49 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|
}
}