Spaces:
Paused
Paused
Update Dockerfile
Browse files60 unmodified lines616263646465666760 unmodified lineselse echo "AWG_ENDPOINT is not set, use random WARP endpoint:" endpoints=("162.159.192.1:4500" "162.159.192.1:928" "162.159.192.1:878" "162.159.192.1:4233" "162.159.195.2:4198" "162.159.195.4:943" "162.159.195.5:934" "162.159.195.6:7103" "162.159.195.7:7152" "162.159.195.7:890") random_endpoint=$((RANDOM % ${#endpoints[@]})) random_endpoint=${endpoints[$((RANDOM % ${#endpoints[@]}))]} echo ${random_endpoint} sed -i "s|^Endpoint *=.*|Endpoint = ${random_endpoint}|" /app/awg.conffiDockerfile+1-1