openresty学习之get请求,openrestyget请求
openresty学习之get请求,openrestyget请求
1.修改你的加载的.conf文件,我这里是用example.conf。
location /lua_var {
default_type 'text/plain';
content_by_lua_block {
ngx.say(ngx.var.arg_a)
}
}
内容很简单,不做解释。
运行
location /lua_var?a=321
评论暂时关闭