mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 17:12:33 +08:00
@@ -18,9 +18,8 @@ echo 'has tunnel token, run cloudflared tunnel'
|
||||
wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -O /root/cloudflared
|
||||
chmod +x /root/cloudflared
|
||||
# /usr/bin/v2ray -config /root/config.json & /root/cloudflared tunnel --no-autoupdate run --token $TUNNEL_TOKEN & nginx -c /root/nginx.conf -g 'daemon off;'
|
||||
/usr/bin/v2ray -config /root/config.json & caddy run --config /root/Caddyfile & /root/cloudflared tunnel --no-autoupdate --protocol http2 run --token $TUNNEL_TOKEN
|
||||
v2ray -config /root/config.json & caddy run --config /root/Caddyfile & /root/cloudflared tunnel --no-autoupdate run --token $TUNNEL_TOKEN --protocol http2
|
||||
else
|
||||
caddy start --config /root/Caddyfile
|
||||
/usr/bin/v2ray -config /root/config.json
|
||||
v2ray -config /root/config.json & caddy run --config /root/Caddyfile
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user