- Install cloudflared:
brew install cloudflared - Have access to the Cloudflare account for the unidy.de domain
cloudflared tunnel loginThis opens a browser to select the unidy.de zone.
cloudflared tunnel create my-demoNote the tunnel ID from the output.
cloudflared tunnel route dns my-demo my-demo.unidy.detunnel: my-demo
credentials-file: /Users/<username>/.cloudflared/<tunnel-id>.json
ingress:
- hostname: my-demo.unidy.de
service: http://localhost:4321
- service: http_status:404In one terminal, start your dev server:
bun run devIn another terminal, run the tunnel:
cloudflared tunnel run my-demoYour local site is now accessible at https://my-demo.unidy.de