执行阶段包括 set_by_lua、rewrite_by_lua、access_by_lua、content_by_lua、header_filter_by_lua、body_filter_by_lua、log_by_lua、 2.set_by_lua 做流程分支判断,判断变量初始化 3.re...
1.子查询是什么 location /lua { content_by_lua ' local res = ngx.location.capture("/some_other_location") if res.status == 200 then ...
1.OpenResty有两种缓存方式,分别是shared_dict和lua-resty-lrucache 2.shared_dict(字典缓存)方式 第一步:在nginx.conf里面添加配置: lua_shared_dict my_cache 128m; ...
1.配置nginx.conf worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile ...
没有更多内容
加载失败,请刷新页面
没有更多内容
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复