ngx-lua

http {
set $test 'hello world';
location \ {
content_by_lua '
ngx.header.content_type="text/plain";
ngx.say (ngx.var.test);
';
}
}

posted on 2021-02-25 21:10  木林coder  阅读(101)  评论(0)    收藏  举报

导航