
openresty
一只想飞的追梦者
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
openresty学习之lua和Nginx的整合
想要整合,必须先要明确自己的Nginx安装目录,nginx在openresty中体现代理的作用。我安装目录是/usr/local/Cellar/openresty/1.13.6.1/nginx1.首先我们修改Nginx下的conf下的nginx.conf文件http { default_type application/octet-stream; lua_package_path...原创 2018-03-02 10:37:02 · 1044 阅读 · 0 评论 -
openresty学习之get请求
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=...原创 2018-03-02 11:50:36 · 960 阅读 · 0 评论