Files
wordloop/deploy/cloudflared/config.yml.example
T

16 lines
602 B
Plaintext
Raw Normal View History

2026-06-04 14:30:53 -07:00
# Cloudflare Tunnel 示例配置
# 1. 复制为 config.yml:cp config.yml.example config.yml
# 2. 运行 cloudflared tunnel login 后创建隧道:
# cloudflared tunnel create wordloop
# 3. 将 credentials-file 路径改为实际 JSON(通常在 ~/.cloudflared/<tunnel-id>.json)
# 4. 在 Cloudflare 控制台为 w.tkmind.cn 添加 Public Hostname,或执行:
# cloudflared tunnel route dns wordloop w.tkmind.cn
tunnel: wordloop
credentials-file: /path/to/.cloudflared/<TUNNEL-UUID>.json
ingress:
- hostname: w.tkmind.cn
service: http://127.0.0.1:8080
- service: http_status:404