local tunnels with cloudflare
notes while tinkering with ruby
July 6, 2021 · 1 min read · tech, programming
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)