Spaces:
Paused
Paused
Update entrypoint.sh
Browse files- entrypoint.sh +4 -3
entrypoint.sh
CHANGED
|
@@ -90,16 +90,17 @@ mv gost /usr/local/bin/
|
|
| 90 |
chmod +x /usr/local/bin/gost
|
| 91 |
|
| 92 |
# 在本地监听 1080 端口,并将流量通过 wss (加密的ws) 转发给你的 Tunnel
|
| 93 |
-
gost -L http://:1081 -F wss://pxde.806044.xyz:443 &
|
| 94 |
#sh /app/setup_proxy.sh api.telegram.org tgproxy.806044.xyz
|
|
|
|
| 95 |
|
| 96 |
sleep 3
|
| 97 |
|
| 98 |
#curl -I https://discord.com
|
| 99 |
-
curl -Iv -x
|
| 100 |
|
| 101 |
#nginx -s stop
|
| 102 |
-
export ALL_PROXY="http://127.0.0.1:1081"
|
| 103 |
|
| 104 |
|
| 105 |
echo "Starting Python bot on port 8888..."
|
|
|
|
| 90 |
chmod +x /usr/local/bin/gost
|
| 91 |
|
| 92 |
# 在本地监听 1080 端口,并将流量通过 wss (加密的ws) 转发给你的 Tunnel
|
| 93 |
+
#gost -L http://:1081 -F wss://pxde.806044.xyz:443 &
|
| 94 |
#sh /app/setup_proxy.sh api.telegram.org tgproxy.806044.xyz
|
| 95 |
+
sh /app/start_gost.sh
|
| 96 |
|
| 97 |
sleep 3
|
| 98 |
|
| 99 |
#curl -I https://discord.com
|
| 100 |
+
curl -Iv -x "$ALL_PROXY" https://api.telegram.org
|
| 101 |
|
| 102 |
#nginx -s stop
|
| 103 |
+
#export ALL_PROXY="http://127.0.0.1:1081"
|
| 104 |
|
| 105 |
|
| 106 |
echo "Starting Python bot on port 8888..."
|