1、下载windows版本的openresty:

http://openresty.org/cn/download.html

2、解压

启动nginx.exe:

双击nginx.exe运行 


4、验证:

方式一、打开控制台执行命令:

tasklist /fi "imagename eq nginx.exe"

Openresty  =>nginx+lua_windows

方式二、登陆网址:

http://127.0.0.1:80/

Openresty  =>nginx+lua_windows_02

注:可以到nginx.conf中listen的参数修改端口

 

括以下模块: http://openresty.org/cn/download.html

ngx-coolkit-module

echo-nginx-module

set-misc-nginx-module

ngx-postgres-module

ngx-lua-module

headers-more-nginx-module

rds-json-nginx-module