在Windos上安装Nginx

官网地址:http://nginx.org/en/download.html

1、下载

2、解压

3、启动

4、访问

打开cmd cd到nginx路径,使用命令关闭它

nginx.exe -s stop

重启的话使用命令:

nginx.exe -s reload

启动使用:

nginx

查看版本

nginx -v

原文地址:https://www.cnblogs.com/weibanggang/p/10422489.html