![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx+lua
文章平均质量分 78
西城xml
To be better me
展开
-
lua逆序读取文件内容
local method = ngx.var.request_method; local headers = ngx.req.get_headers(); local uri_args = ngx.req.get_uri_args(); -- 逆序排列函数 function reverseTable(tab) local tmp = {} for i = 1, #tab do local ...原创 2019-01-22 17:00:06 · 417 阅读 · 0 评论 -
nginx+lua环境搭建
准备openresty依赖 yum install readline-devel pcre-devel openssl-devel gcc 安装openresty 有问题可以用yum install wget和yum install perl解决 wget https://openresty.org/download/ngx_openresty-1.9.7.2.tar.gz t...原创 2018-10-09 20:14:00 · 1419 阅读 · 0 评论