Linux-023-Centos Nginx Lua 脚本三种基本引用方式示例

Lua 脚本在 Nginx 中基本的使用方式有三种:指令方式、脚a56爆大奖在线娱乐件、函数(语句块)方式,相应的简单示例源码如下所示: # 使用 Lua 指令方式 location /lua_command { default_type 'text/plain'; content_by_lua 'ngx.say(
posted @ 2021-03-10 23:07  范丰平  Views(234)  Comments(0Edit  收藏  举报