Skip to content
This repository was archived by the owner on Aug 22, 2021. It is now read-only.

Commit 11cb17b

Browse files
committed
proxy protocol for ss
1 parent 293b469 commit 11cb17b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/v2gun.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,8 @@ set_v2ray() {
537537
},
538538
{
539539
"path": "$2",
540-
"dest": 3565
540+
"dest": 3565,
541+
"xver": 1
541542
},
542543
{
543544
"path": "$2ws",
@@ -625,6 +626,7 @@ EOF
625626
"network": "ws",
626627
"security": "none",
627628
"wsSettings": {
629+
"acceptProxyProtocol": true,
628630
"path": "$2"
629631
}
630632
},

0 commit comments

Comments
 (0)