MoeClub / OneList

Simple index for onedrive
1.09k stars 429 forks source link

nginx调用防盗链出现404 #39

Open FFFcat opened 4 years ago

FFFcat commented 4 years ago

location ~* \.(mp4|mp3|flac|mkv|zip|rar|pdf|msi|avi)$ { valid_referers none blocked *.123.com 123.com; if ($invalid_referer){ rewrite ^/ 123.com; } } 作者你好,实现的过程中出现了一个问题。插入此防盗链后,在原网站上点击相应后缀文件出现404,想请教下作者这是什么原因。