正向代理:通过某一个服务器,比如 nginx 作为代理去访问别人的网站
反向代理:nginx 本身并不是提供服务的,当我们访问nginx的时候,他会去找nodejs服务来提供服务
> vscode 使用 ssh-remote 配置 config
1. 下载 ssh-remote
2. 配置一个 config,HostName为域名或者ip地址,User 为登录用户

3. 打开文件夹, /etc/nginx 回车,输入密码
4. 在 nginxconfig.io 上配置 nginx.conf,将如图对应的文件复制

5. service nginx reload 重启 nginx 服务