安装sh
code .
在nginx上配置http 301重定向https
return 301 https://www.shudong.wang$request_uri;
在nginx上做反向代理
location /
{
proxy_pass http://127.0.0.1:5000;
}
命令行
export http_proxy=http://127.0.0.1:9999;export https_proxy=http://127.0.0.1:9999;
zsh国内仓库解决办法
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://e.coding.net/devland/clone/ohmyzsh.git
sh ./tools/install.sh