Cloudflared setup: Empty config.yml file - Manual creation or automatic generation?

Hey everyone, I'm trying to set up cloudflared but I'm hitting a snag. I'm getting an error saying my config file at /Users/by/.cloudflared/config.yml is empty. I'm not sure if I need to create this file manually or if there's a command that should generate it automatically. Has anyone dealt with this before? Any tips on how to properly populate the config file? Thanks in advance!
3 Replies
Chaika
Chaika7d ago
Depends, are you trying to set up from the dashboard or locally?
Chaika
Chaika7d ago
If from dash (which is what I would recommend): https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/ no need for manual configuration of tunnel
Cloudflare Docs
Create a remotely-managed tunnel (dashboard) | Cloudflare Zero Trus...
Follow this step-by-step guide to get your first tunnel up and running using Zero Trust.
Chaika
Chaika7d ago
Cloudflare Docs
Create a locally-managed tunnel (CLI) | Cloudflare Zero Trust docs
Follow this step-by-step guide to get your first tunnel up and running using the CLI.
Want results from more Discord servers?
Add your server