For Workes & Pages, what is the name of the domain?
cron
What is the issue or error you’re encountering
I run my CRON via worker, WAF blocks it which is correct based on my rules but now I somehow want to allowlist my Worker how do I do it?
cron
I run my CRON via worker, WAF blocks it which is correct based on my rules but now I somehow want to allowlist my Worker how do I do it?
The simplest way is to add a header to the request sent by your worker (such as x-my-worker-uuid: fed42cea-d3f9-43a6-b2f0-a2738ee9041b
), and check for that header and its content in the WAF to then skip the rules that block.
Make sure that’s only sent for requests to your own zone.
Yes, this is what I did. added skip rule for specific Uri’s that worker is targeting and have header with worker id’s. Wished there was a better option.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.