C
CrowdSec10mo ago
Sich

cloudflare worker & pricing

Hi, I'm currently looking at the cloudflare worker bouncer. The cloudflare documentation say that request to "static asset" are free. But it seem you have to setup some route for that. And, If if understand correctly, every request need to be checked with the crowdsec worker, or the default configuration for the worker exclude static content like pictures or css files ? If I want to disable the worker for static content do I need a specific setup on cloudflare or on crowdsec side ?
2 Replies
CrowdSec
CrowdSec10mo ago
Important Information
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command /resolve or press the green resolve button below.
Log Files
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
Guide Followed (CrowdSec Official)
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Screenshots
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
© Created By WhyAydan for CrowdSec ❤️
blotus
blotus10mo ago
Looking at the cloudflare API documentation (https://developers.cloudflare.com/api/operations/worker-routes-create-route), I don't think you can do exclusions for the routes We expose the pattern parameter through the routes_to_protect option in the configuration
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API

Did you find this page helpful?