Coder Social home page Coder Social logo

logintowww's Introduction

概述

在 Heroku 上部署 V2Ray Websocket。

Heroku 的网络并不稳定,部署前请三思,本项目也不宜做为长期翻墙使用。

可以部署两个以上的应用,实现 负载均衡,避免长时间大流量连接某一应用而被 Heroku 判定为滥用。

部署

Deploy

ENV 设定

VER > V2Ray 的版本,如果为 latest,则会自动使用最新版本

PROTOCOL > vless 协议还在测试,且版本 ≥ 4.27.0 时才能使用。所以默认为 vmess

UUID > 供用户连接时验证身份使用,默认为 ad806487-2d26-4636-98b6-ab85cc8521f7

PATH > WebSocket模式下的路径,默认为 /

注意

  1. 部署VMess协议时,alterId64
  2. 服务端部署后,应open app,显示Bad Request,表示部署成功。
  3. 客户端可使用Websocket端口80,或Websocket+TLS端口443传输。
  4. 出于安全考量,除非使用 CDN,否则不要使用自定义域名,而使用 Heroku 分配的二级域名,以实现 V2Ray Websocket + TLS。

参考

https://github.com/bclswl0827/v2ray-heroku

https://github.com/giegloop/ng-hr

logintowww's People

Contributors

wizos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.