• 配置要点
    • none : 允许没有http_refer的请求访问资源;
    • blocked : 允许不是http://开头的,不带协议的请求访问资源;
    • 119.28.190.215 start.igrow.cn : 只允许指定ip/域名来的请求访问资源;
location ~* \.(gif|jpg|swf)$ {
    valid_referers none blocked start.igrow.cn sta.igrow.cn;
    if ($invalid_referer) {
       rewrite ^/ http://$host/logo.png;
    }
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2021-12-18
  • 2021-08-15
  • 2021-07-11
  • 2021-10-09
  • 2021-10-04
猜你喜欢
  • 2022-01-28
  • 2021-08-12
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案