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

Commit 558e012

Browse files
committed
fix naiveproxy
1 parent baa49ea commit 558e012

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/v2gun.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ EOF
570570
set_naive() {
571571
${sudoCmd} cat > "/usr/local/etc/naive/config.json" <<-EOF
572572
{
573-
"listen": "http://127.0.0.1:8080",
573+
"listen": "http://127.0.0.1:8081",
574574
"padding": "true"
575575
}
576576
EOF
@@ -680,6 +680,7 @@ http://$1:8080 {
680680
hide_ip
681681
hide_via
682682
probe_resistance unsplash.com:443
683+
upstream http://127.0.0.1:8081
683684
}
684685
file_server { root /var/www/html }
685686
}

0 commit comments

Comments
 (0)