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