Nginx服务器中使用lua获取get或post参数
Nginx服务器中使用lua获取get或post参数 使用ngx_lua模块(http://wiki.nginx.org/HttpLuaModule): local request_method = ngx.var.request_method local args =...
Nginx服务器中使用lua获取get或post参数
2017年3月3日 - 使用ngx_lua模块(http://wiki.nginx.org/HttpLuaModule): local request_...--获取参数的值 if "GET" == request_method then args = ngx.req.get_uri...