jabba icon indicating copy to clipboard operation
jabba copied to clipboard

How to config proxy of jabba?

Open xu20160924 opened this issue 4 years ago • 4 comments

Hi, I want to know how to config proxy of jabba? I have configured ALL_PROXY, but it look like didn't work.

xu20160924 avatar Jun 28 '21 02:06 xu20160924

cmd or windows terminal?

littlegolden avatar Nov 28 '21 07:11 littlegolden

Mac zsh

xu20160924 avatar Nov 29 '21 06:11 xu20160924

Mac zsh

temporary:

export https_proxy=http://127.0.0.1:7890
export http_proxy=http://127.0.0.1:7890
export all_proxy=socks5://127.0.0.1:7890

permanent:

vim source ~/.zshrc

# proxy on
pon () {
  export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890
  echo "HTTP Proxy on"
}

# proxy off
poff () {
  unset http_proxy
  unset https_proxy
  unset all_proxy
  echo "HTTP Proxy off"
}

source ~/.zshrc
# turn on proxy
pon

# turn off proxy
poff

littlegolden avatar Nov 30 '21 03:11 littlegolden

Well, I'll try it, thanks

xu20160924 avatar Nov 30 '21 03:11 xu20160924