Skip to content

Instantly share code, notes, and snippets.

@henshaw
Created August 23, 2021 23:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henshaw/7d72d31364d08605f3c6b9e673ba0e44 to your computer and use it in GitHub Desktop.
Save henshaw/7d72d31364d08605f3c6b9e673ba0e44 to your computer and use it in GitHub Desktop.
Cloudflare Firewall rule expression for blocking hotlinking for a specific folder
(http.request.full_uri contains "/path/to/qrcode/" and not http.referer contains "yourdomain.com")
@henshaw
Copy link
Author

henshaw commented Aug 24, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment