forked from xueliqq/v2ray-heroku
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yuki Kikuchi
authored
Oct 10, 2019
1 parent
e7fcc57
commit 41ede8a
Showing
1 changed file
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
# v2ray-heroku | ||
# V2Ray Heroku | ||
|
||
### Deploy to Heroku: [![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy) | ||
## 概述 | ||
|
||
用于在 Heroku 上部署 V2Ray Websocket。 | ||
|
||
**本项目不宜做为长期翻墙使用。** | ||
|
||
**可以部署两个以上的应用,实现[负载均衡](https://toutyrater.github.io/app/balance.html),避免长时间大流量连接某一应用而被 Heroku 判定为滥用。** | ||
|
||
**Heroku 的网络并不稳定,部署前请三思。** | ||
|
||
## 镜像 | ||
|
||
本镜像仅 14MB,比起其他用于 Heroku 的 V2Ray 镜像,不会因为大量占用资源而被封号。 | ||
|
||
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy) | ||
|
||
## ENV 设定 | ||
|
||
### UUID | ||
|
||
`UUID` > `一个 UUID,供链接时验证使用`。 | ||
|
||
## 注意 | ||
|
||
WebSocket 路径为 /。 | ||
|
||
AlterID 为 64。 | ||
|
||
V2Ray 将在部署时自动安装最新版本。 | ||
|
||
**出于安全考量,除非使用 CDN,否则请不要使用自定义域名,而使用 Heroku 分配的二级域名,以实现 V2Ray Websocket + TLS。** |