15 lines
511 B
Plaintext
15 lines
511 B
Plaintext
|
|
# Cloudflare Tunnel 配置示例
|
||
|
|
# 1. cloudflared tunnel login
|
||
|
|
# 2. cloudflared tunnel create goose-local
|
||
|
|
# 3. 复制本文件到 ~/.cloudflared/config.yml 并替换 <TUNNEL-ID>
|
||
|
|
# 4. cloudflared tunnel route dns goose-local goo.tkmind.cn
|
||
|
|
# 5. cloudflared tunnel run goose-local
|
||
|
|
|
||
|
|
tunnel: 17325277-5bf8-4a9e-a4be-2aee39e53e45
|
||
|
|
credentials-file: /Users/john/.cloudflared/17325277-5bf8-4a9e-a4be-2aee39e53e45.json
|
||
|
|
|
||
|
|
ingress:
|
||
|
|
- hostname: goo.tkmind.cn
|
||
|
|
service: http://127.0.0.1:8080
|
||
|
|
- service: http_status:404
|