a simple http and https forward proxy
go install github.com/kowloonzh/goproxy@latest
goproxy
auth=$(echo "admin:xxxx" |base64)
goproxy -l :8887 -a $auth
auth=$(echo "admin:xxxx" |base64)
GOPROXY_AUTH=${auth} GOPROXY_ADDR=:8887 goproxy
export no_proxy="localhost,127.0.0.1,.localdomain.com,*.localdomain.com,10.0.0.1/8"
export http_proxy="http://proxy.cn:80"
export https_proxy=$http_proxy
goproxy