1.下载Nginx,链接:http://nginx.org/en/download.html 2.解压放到自己的磁盘,双击击运行nginx.exe,会有命令框一闪而过,在浏览器上面输入localhost: (1)如果报You don't have permission to access / on this server错误,一般是系统已经安装了Apache,把Apache停掉就可以了 (2)页面出现如下情况说明已经安装成功: 3.配置项目文件根目录:进入解压的nginx文件夹——>conf——…