Skip to content

Cloudflare R2 图床防爬 #42

@VandeeFeng

Description

@VandeeFeng

之前用 GitHub 当图床,一个是访问的速度很慢,再一个总觉得滥用了资源。

还是转到 Cloudflare R2 了。

  • Scrape Shield => Hotlink Protection,打开

  • Security => WAF => Custom rules,设置自定义规则。

    WAF-rules
  • R2 Object Storage => Bucket => CORS policy, 添加自己的域名

设置了才知道之前图片被爬了多少次。。。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions