File tree Expand file tree Collapse file tree 3 files changed +34
-20
lines changed
config/blocked_hosts/server Expand file tree Collapse file tree 3 files changed +34
-20
lines changed Original file line number Diff line number Diff line change 20
20
"streamSettings": {
21
21
"network": "tcp",
22
22
"tcpSettings": {
23
- "header": {
24
- "type": "http",
25
- "response": {
26
- "version": "1.1",
27
- "status": "200",
28
- "reason": "OK",
29
- "headers": {
30
- "Content-encoding": ["gzip"],
31
- "Content-Type": ["text/html; charset=utf-8"],
32
- "Cache-Control": ["no-cache"],
33
- "Vary": ["Accept-Encoding"],
34
- "X-Frame-Options": ["deny"],
35
- "X-XSS-Protection": ["1; mode=block"],
36
- "X-content-type-options": ["nosniff"]
37
- }
23
+ "header": {
24
+ "type": "http",
25
+ "response": {
26
+ "version": "1.1",
27
+ "status": "200",
28
+ "reason": "OK",
29
+ "headers": {
30
+ "Content-encoding": [
31
+ "gzip"
32
+ ],
33
+ "Content-Type": [
34
+ "text/html; charset=utf-8"
35
+ ],
36
+ "Cache-Control": [
37
+ "no-cache"
38
+ ],
39
+ "Vary": [
40
+ "Accept-Encoding"
41
+ ],
42
+ "X-Frame-Options": [
43
+ "deny"
44
+ ],
45
+ "X-XSS-Protection": [
46
+ "1; mode=block"
47
+ ],
48
+ "X-content-type-options": [
49
+ "nosniff"
50
+ ]
51
+ }
52
+ }
38
53
}
39
- }
40
54
}
41
- }
55
+ }
42
56
},
43
57
"outbound": {
44
58
"protocol": "freedom",
Original file line number Diff line number Diff line change @@ -1130,7 +1130,7 @@ config() {
1130
1130
sed -i " 28s/6666/$ssport /; 30s/chacha20-ietf/$ssciphers /; 31s/233blog.com/$sspass /" $v2ray_server_config
1131
1131
;;
1132
1132
2)
1133
- sed -i " 50s /6666/$ssport /; 52s /chacha20-ietf/$ssciphers /; 53s /233blog.com/$sspass /" $v2ray_server_config
1133
+ sed -i " 64s /6666/$ssport /; 66s /chacha20-ietf/$ssciphers /; 67s /233blog.com/$sspass /" $v2ray_server_config
1134
1134
;;
1135
1135
3 | 4)
1136
1136
sed -i " 31s/6666/$ssport /; 33s/chacha20-ietf/$ssciphers /; 34s/233blog.com/$sspass /" $v2ray_server_config
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ none='\e[0m'
10
10
# Root
11
11
[[ $( id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red} root ${none} 用户运行 ${yellow} ~(^_^) ${none} " && exit 1
12
12
13
- _version=" v2.24 "
13
+ _version=" v2.25 "
14
14
15
15
cmd=" apt-get"
16
16
@@ -3132,7 +3132,7 @@ config() {
3132
3132
sed -i " 28s/6666/$ssport /; 30s/chacha20-ietf/$ssciphers /; 31s/233blog.com/$sspass /" $v2ray_server_config
3133
3133
;;
3134
3134
2)
3135
- sed -i " 50s /6666/$ssport /; 52s /chacha20-ietf/$ssciphers /; 53s /233blog.com/$sspass /" $v2ray_server_config
3135
+ sed -i " 64s /6666/$ssport /; 66s /chacha20-ietf/$ssciphers /; 67s /233blog.com/$sspass /" $v2ray_server_config
3136
3136
;;
3137
3137
3 | 4)
3138
3138
sed -i " 31s/6666/$ssport /; 33s/chacha20-ietf/$ssciphers /; 34s/233blog.com/$sspass /" $v2ray_server_config
You can’t perform that action at this time.
0 commit comments