Run the scripts without Cloudflare

In my project there is a directory with scripts, for example mysite.com/scripts. I run these scripts manually. These scripts have a long execution time, and therefore cloudflare issues Error code 524 during their execution. How to make these scripts in this directory run without using cloudflare. I tried adding a new entry Type ‘A’ Name ‘mysite.com/scripts’ IPv4 address ‘my.site.ip’ Proxy status ‘DNS only’ but it didn’t help.

You can create a separate hostname, pointing to the same IP, that’s set to “DNS only”.

Or, assuming the script is run from the server it is on, change to localhost to call the script.

Or, on your machine (or the server if that’s where you run it from) set a hosts file entry so the domain resolves to the origin server IP address instead of Cloudflare.

3 Likes

Thanks for the quick reply!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.