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 06:55:28 +0000 (14:55 +0800)
commitbce14a016b7678927159c7d53811615a9982bb53
tree6d1a74f0cf14443567e6f24cba27733a0788d805
parent892ce0645d945801e8bd03eb481cb95683abb62e
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