代理git http流量:
https://ericclose.github.io/git-proxy-config.html
代理apt
https://linux.cn/article-15815-1.html
代理docker
https://yeasy.gitbook.io/docker_practice/advanced_network/http_https_proxy
为jellyfin配置代理
https://blog.csdn.net/AAMahone/article/details/128966904
在source中配置代理
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| PROXY_SERVER="127.0.0.1" PROXY_PORT="7890"
proxy_on() { export http_proxy="http://$PROXY_SERVER:$PROXY_PORT" export https_proxy="http://$PROXY_SERVER:$PROXY_PORT" export HTTP_PROXY=$http_proxy export HTTPS_PROXY=$https_proxy export no_proxy="localhost,127.0.0.1,::1" export NO_PROXY=$no_proxy echo "代理已开启: $http_proxy" }
proxy_off() { unset http_proxy unset https_proxy unset HTTP_PROXY unset HTTPS_PROXY unset no_proxy unset NO_PROXY echo "代理已关闭" }
|