Skip to content

Commit

Permalink
Update startup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zizifn authored May 29, 2022
1 parent 54182ea commit 08a8fb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ 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;'
caddy start --config /root/Caddyfile
/usr/bin/v2ray -config /root/config.json & /root/cloudflared tunnel --no-autoupdate --protocol http2 run --token $TUNNEL_TOKEN
/usr/bin/v2ray -config /root/config.json & caddy run --config /root/Caddyfile & /root/cloudflared tunnel --no-autoupdate --protocol http2 run --token $TUNNEL_TOKEN
else
caddy start --config /root/Caddyfile
/usr/bin/v2ray -config /root/config.json
Expand Down

0 comments on commit 08a8fb1

Please sign in to comment.