Skip to content

Commit

Permalink
chore: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
zizifn committed Dec 31, 2020
1 parent c5c5669 commit a5fe9f6
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 32 deletions.
73 changes: 41 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
> 切换到最新的 VLESS 协议。具体客户端配置请看 config 章节。
首先查看别人的 [youtube 教程](https://www.youtube.com/watch?v=xHZyDsFYdvA),了解怎么配置 v2ray-heroku。**本项目使用最新 VLESS 协议,请再客户端配置选择 VLESS**
首先查看别人的 [youtube 教程](https://www.youtube.com/watch?v=xHZyDsFYdvA),了解怎么配置 v2ray-heroku。**本项目使用最新 VLESS 协议,请再客户端配置选择 VLESS**[VLESS websocket 客户端配置](#VLESS websocket 客户端配置)
如果你还想自动化你的 heroku,请查看下面的教程。

本项目是包含,
Expand All @@ -23,37 +23,6 @@

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://dashboard.heroku.com/new?template=https://github.com/zizifn/v2ray-heroku/tree/main)

## VLESS websocket 客户端配置

```json
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "***.herokuapp.com", // heroku app URL 或者 cloudflare worker url/ip
"port": 443,
"users": [
{
"id": "", // 填写你的 UUID
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"serverName": "***.herokuapp.com" // heroku app host 或者 cloudflare worker host
}
}
}
]
```

## Github Actions 管理

请 Fork 本项目到自己的账户下。 Actions 需要以下 Secrets 才能正常工作,这些 Secrets 会被 workflow 中的 [akhileshns/heroku-deploy](./https://github.com/AkhileshNS/heroku-deploy) 使用。
Expand Down Expand Up @@ -141,3 +110,43 @@ addEventListener("fetch", (event) => {

为 worker 选择速度更快的 IP。
https://github.com/badafans/better-cloudflare-ip

## VLESS websocket 客户端配置

### JSON

```json
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "***.herokuapp.com", // heroku app URL 或者 cloudflare worker url/ip
"port": 443,
"users": [
{
"id": "", // 填写你的 UUID
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"serverName": "***.herokuapp.com" // heroku app host 或者 cloudflare worker host
}
}
}
]
```

### QV2ray

![QV2ray](/readme-data/QV2ray.jpg)

别忘记开启 TLS。
![QV2ray](/readme-data/QV2ray2.jpg)
Binary file added readme-data/QV2ray.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme-data/QV2ray2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a5fe9f6

Please sign in to comment.