这是百正常的,服务器已经启动了度。当然最好的方式问是通过命令行答来操作:
打开专cmd.exe
E:
cd nginx-1.17.10
nginx // 启动nginx
nginx -s stop // 关闭nginx
window下使用nginx流程
转载:https://www.cnblogs.com/muwu/p/8970360.html
1、打开nginx官网http://nginx.org/en/download.html
选择一个稳定版本Stable version 下载到自己硬盘,文件夹命名为英文,比如 nginx-1.14.0
下载好后解压到文件夹里面,里面有个nginx.exe
2、在系统环境变量里添加上path路径(我的电脑->右键属性->高级系统设置->环境变量->系统变量(path编辑)->新建(C:\Users\Administrator\nginx-1.17.10))
出现问题:2020/05/06 23:23:47 [error] 10284#10812: *1 CreateFile() “C:\Users\Administrator\nginx-1.17.10/html/favicon.ico” failed (2: The system cannot find the file specified), client: 127.0.0.1, server: localhost, request: “GET /favicon.ico HTTP/1.1”, host: “localhost:8086”, referrer: “http://localhost:8086/”
window下使用nginx,解压完,打开nginx.exe 就闪退
最新推荐文章于 2024-02-23 19:48:15 发布