forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #1545 from qianyu-wang/patch-1
fix: add localnet to proxychains config
This commit is contained in:
commit
086effa6cb
@ -50,6 +50,8 @@ CMD if [ -n "$PROXY_URL" ]; then \
|
||||
echo "remote_dns_subnet 224" >> $conf; \
|
||||
echo "tcp_read_time_out 15000" >> $conf; \
|
||||
echo "tcp_connect_time_out 8000" >> $conf; \
|
||||
echo "localnet 127.0.0.0/255.0.0.0" >> $conf; \
|
||||
echo "localnet ::1/128" >> $conf; \
|
||||
echo "[ProxyList]" >> $conf; \
|
||||
echo "$protocol $host $port" >> $conf; \
|
||||
cat /etc/proxychains.conf; \
|
||||
|
Loading…
Reference in New Issue
Block a user