Cloudflare is blocking cURL requests to my static assets
Basically, I'd like to allow bots/tools like curl to be able to download the
https://quack.skyfall.dev/install-linux.sh
file, but when I try to curl the file I get a 403 error telling me to enable JavaScript. How can I fix this?
I tried to make a Page Rule but there doesn't seem to be an option to whitelist the URL from CF protection. I've attached an image of the logged event when attempting to access the URL.
Thanks in advance!
4 Replies
It looks like you have Bot Fight Mode enabled. You will need to disable that
Is there a way to only do it for two URLs though?
I don't want bots accessing any URLs other than those two
No. Bot Fight Mode is a blunt weapon, it's either on or off. You can customize Super Bot Fight Mode though
Got it - thanks for your help!