1.下载nginx
http://nginx.org/en/download.html
2.启动
由于本地有iss监听80,修改nginx配置,监听7000吧
打开cmd命令窗口,切换到nginx解压目录下,输入命令 nginx.exe 或者 start nginx ,回车即可,浏览器localhost:7000
3.闭nginx
nginx -s stop(快速停止nginx) 或 nginx -s quit(完整有序的停止nginx)
参考:
https://www.runoob.com/w3cnote/nginx-install-and-config.html
https://www.cnblogs.com/jiangwangxiang/p/8481661.html