1、下载windows版本的openresty:
http://openresty.org/cn/download.html
2、解压
启动nginx.exe:
双击nginx.exe运行
4、验证:
方式一、打开控制台执行命令:
tasklist /fi "imagename eq nginx.exe"
方式二、登陆网址:
http://127.0.0.1:80/
注:可以到nginx.conf中listen的参数修改端口
1、下载windows版本的openresty:
http://openresty.org/cn/download.html
2、解压
启动nginx.exe:
双击nginx.exe运行
4、验证:
方式一、打开控制台执行命令:
tasklist /fi "imagename eq nginx.exe"
方式二、登陆网址:
http://127.0.0.1:80/
注:可以到nginx.conf中listen的参数修改端口