wsl开启全局代理
全局代理配置 为了确保每次都能使用代理,也可以在全局配置文件中设置代理。
编辑 /etc/environment 文件:
sudo nano /etc/environment
将以下行添加到文件末尾:
http_proxy="http://127.0.0.1:7890"
https_proxy="http://127.0.0.1:7890"
保存并退出,然后重启 WSL 或运行以下命令来重新加载环境变量:
source /etc/environment
复制链接
https://blog.lxx.ip-ddns.com/index.php/archives/185/
Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /usr/home/LXX123/domains/www.lxxblog.cfd/public_html/usr/themes/Farallon/comments.php on line 4
Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/home/LXX123/domains/www.lxxblog.cfd/public_html/usr/themes/Farallon/comments.php on line 4