1.安装,直接去官网下载
2.常用命令
启动nginx: start nginx
关闭nginx: nginx -s stop
重新加载nginx: nginx -s reload
查看版本: nginx -v
2.反向代理
修改conf/nginx.conf的http模块