cloudflared: refine config.yml
authorSergey Ponomarev <stokito@gmail.com>
Sat, 3 Feb 2024 20:13:22 +0000 (22:13 +0200)
committerTianling Shen <cnsztl@immortalwrt.org>
Sun, 4 Feb 2024 07:00:52 +0000 (15:00 +0800)
commitac3fa0b87ea23898d238d1e8fb2280b45bba756f
tree60c584f11dba3a8901b2a2154e1889b159fbf402
parent80b3c476a7d0780c53193647f9f079c7f603a076
cloudflared: refine config.yml

The config.yml is an example of a tunnel local configuration.
But the cloudlfared treat it as a real config and fails to start.
So to avoid problems let's comment all the statements.

The `url: http://localhost:8000` is not a valid config option.

Additionally add a smale of configuring ingres rules.

The cloudflared.config has missing option token.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
(cherry picked from commit b3580a76d8a4bc0bfa075ba3da945bfe92526871)
net/cloudflared/files/cloudflared.config
net/cloudflared/files/sample_config.yml