Commit a5fe9f6 1 parent c5c5669 commit a5fe9f6 Copy full SHA for a5fe9f6
File tree 3 files changed +41
-32
lines changed
3 files changed +41
-32
lines changed Original file line number Diff line number Diff line change 4
4
5
5
> 切换到最新的 VLESS 协议。具体客户端配置请看 config 章节。
6
6
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 客户端配置)
8
8
如果你还想自动化你的 heroku,请查看下面的教程。
9
9
10
10
本项目是包含,
23
23
24
24
[ ![ Deploy] ( https://www.herokucdn.com/deploy/button.svg )] ( https://dashboard.heroku.com/new?template=https://github.com/zizifn/v2ray-heroku/tree/main )
25
25
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
-
57
26
## Github Actions 管理
58
27
59
28
请 Fork 本项目到自己的账户下。 Actions 需要以下 Secrets 才能正常工作,这些 Secrets 会被 workflow 中的 [ akhileshns/heroku-deploy] ( ./https://github.com/AkhileshNS/heroku-deploy ) 使用。
@@ -141,3 +110,43 @@ addEventListener("fetch", (event) => {
141
110
142
111
为 worker 选择速度更快的 IP。
143
112
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 )
You can’t perform that action at this time.
0 commit comments