mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 01:05:14 +08:00
feat: close #118 add stop all button
This commit is contained in:
1
scripts/.gitignore
vendored
Normal file
1
scripts/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
proxychains.conf
|
5
scripts/init-proxy.sh
Normal file
5
scripts/init-proxy.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
dir="$(dirname "$0")"
|
||||
config=$dir/proxychains.conf
|
||||
host_ip=$(grep nameserver /etc/resolv.conf | sed 's/nameserver //')
|
||||
cp $dir/proxychains.template.conf $config
|
||||
sed -i "\$s/.*/http $host_ip 7890/" $config
|
12
scripts/proxychains.template.conf
Normal file
12
scripts/proxychains.template.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
strict_chain
|
||||
proxy_dns
|
||||
|
||||
remote_dns_subnet 224
|
||||
|
||||
tcp_read_time_out 15000
|
||||
tcp_connect_time_out 8000
|
||||
|
||||
localnet 127.0.0.0/255.0.0.0
|
||||
|
||||
[ProxyList]
|
||||
socks4 127.0.0.1 9050
|
Reference in New Issue
Block a user