zing518 / koyebv2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

V2Ray4Fly.io

概述

通过 GitHub Actions 自动在 Fly.io 上部署 V2Ray

配置部署

  1. 先到 Fly.io 注册账号,注意:注册时要记得绑定信用卡,银联的就行
  2. GitHub Actions 增加FLY_API_TOKENAPP_NAMEUUID三个安全字段
  1. 推送代码即可触发部署,另外已设置每月一号四点(UTC)自动部署

客户端连接

  • 协议(protocol) - vmess
  • 地址(address) - [APP_NAME].fly.dev
  • 端口(port) - 443
  • 用户ID(id) - [UUID]
  • 额外ID(alterId) - 0 (!!!)
  • 传输协议(network) - ws
  • 底层传输安全(tls) - tls
{
  "inbounds": [],
  "outbounds": [
    {
      "tag": "proxy",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "[APP_NAME].fly.dev",
            "port": 443,
            "users": [
              {
                "id": "[UUID]",
                "alterId": 0,
                "security": "auto"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "tlsSettings": {
          "allowInsecure": true
        }
      }
    }
  ]
}

参考

About

License:MIT License


Languages

Language:Shell 94.6%Language:Dockerfile 5.4%