1
Phant0m 2016-11-11 16:07:42 +08:00
location ~ \.(gif|jpg|jpeg|png|ico)$ {
valid_referers none blocked fanlychie.com www.fanlychie.com; if ($invalid_referer) { return 403; } expires 7d; } 参考 http://fanlychie.github.io/post/nginx-anti-theft-chain.html |
2
ykjsw OP @Phant0m 谢谢,打错了,是不要 referrer 的,已经找到一个
http://nginx.org/en/docs/http/ngx_http_secure_link_module.html 正在测试 |
3
LEFT 2016-12-21 20:03:14 +08:00
anti-theft chain
|