rock6064

Proxy Docker

Aug 18th, 2020
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. Add this at the beginning of ur run.sh file.
  2.  
  3. curl "https://raw.githubusercontent.com/clarketm/proxy-list/master/proxy-list-raw.txt" > proxies.txt
  4.  
  5. export HTTP_PROXY="http://$(head -n $(wc -l proxies.txt | awk '{ print $1 }') proxy.txt | tail -1)"
  6. export HTTPS_PROXY="https://$(head -n $(wc -l proxies.txt | awk '{ print $1 }') proxy.txt | tail -1)"
  7.  
Add Comment
Please, Sign In to add comment