local tunnels with cloudflare

notes while tinkering with ruby

instantly being able to spin up a tunnel with https in my local machine is useful in a lot of cases

Resources

There is a key.json file + config.yaml file. where all the routing details are stored.

these are located under ~/.cloudflare/

skip caching

go to page rules and add a page rule to cache level: Bypass https://community.cloudflare.com/t/unsolicited-utomatic-caching-via-argo-tunnels-at-cf-edge/308615

Downsides

  • js is cached making it harder to do js development. (stale: 25Jul2022, use page rules)