Skip to content

Commit a5fe9f6

Browse files
committed
chore: update config
1 parent c5c5669 commit a5fe9f6

File tree

3 files changed

+41
-32
lines changed

3 files changed

+41
-32
lines changed

README.md

+41-32
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
> 切换到最新的 VLESS 协议。具体客户端配置请看 config 章节。
66
7-
首先查看别人的 [youtube 教程](https://www.youtube.com/watch?v=xHZyDsFYdvA),了解怎么配置 v2ray-heroku。**本项目使用最新 VLESS 协议,请再客户端配置选择 VLESS**
7+
首先查看别人的 [youtube 教程](https://www.youtube.com/watch?v=xHZyDsFYdvA),了解怎么配置 v2ray-heroku。**本项目使用最新 VLESS 协议,请再客户端配置选择 VLESS**[VLESS websocket 客户端配置](#VLESS websocket 客户端配置)
88
如果你还想自动化你的 heroku,请查看下面的教程。
99

1010
本项目是包含,
@@ -23,37 +23,6 @@
2323

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

26-
## VLESS websocket 客户端配置
27-
28-
```json
29-
"outbounds": [
30-
{
31-
"protocol": "vless",
32-
"settings": {
33-
"vnext": [
34-
{
35-
"address": "***.herokuapp.com", // heroku app URL 或者 cloudflare worker url/ip
36-
"port": 443,
37-
"users": [
38-
{
39-
"id": "", // 填写你的 UUID
40-
"encryption": "none"
41-
}
42-
]
43-
}
44-
]
45-
},
46-
"streamSettings": {
47-
"network": "ws",
48-
"security": "tls",
49-
"tlsSettings": {
50-
"serverName": "***.herokuapp.com" // heroku app host 或者 cloudflare worker host
51-
}
52-
}
53-
}
54-
]
55-
```
56-
5726
## Github Actions 管理
5827

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

142111
为 worker 选择速度更快的 IP。
143112
https://github.com/badafans/better-cloudflare-ip
113+
114+
## VLESS websocket 客户端配置
115+
116+
### JSON
117+
118+
```json
119+
"outbounds": [
120+
{
121+
"protocol": "vless",
122+
"settings": {
123+
"vnext": [
124+
{
125+
"address": "***.herokuapp.com", // heroku app URL 或者 cloudflare worker url/ip
126+
"port": 443,
127+
"users": [
128+
{
129+
"id": "", // 填写你的 UUID
130+
"encryption": "none"
131+
}
132+
]
133+
}
134+
]
135+
},
136+
"streamSettings": {
137+
"network": "ws",
138+
"security": "tls",
139+
"tlsSettings": {
140+
"serverName": "***.herokuapp.com" // heroku app host 或者 cloudflare worker host
141+
}
142+
}
143+
}
144+
]
145+
```
146+
147+
### QV2ray
148+
149+
![QV2ray](/readme-data/QV2ray.jpg)
150+
151+
别忘记开启 TLS。
152+
![QV2ray](/readme-data/QV2ray2.jpg)

readme-data/QV2ray.jpg

62.6 KB
Loading

readme-data/QV2ray2.jpg

72.6 KB
Loading

0 commit comments

Comments
 (0)