1. nginx补充001-详解 nginx location ~ .*.(js|css)?$...访问http://localhost/a.PNG 则匹配规则E, 而不会匹配规则D,因为规则E不区分大小写。 访问http://localhost/a.xhtml 不会匹配规则F和规则G,http://localhost/a.XHTML不会匹配规则G,因为不区分大小写。规则F,规则G属于排除法,符合...
2. ngx.shared.DICT.set -ngx_http_lua_shdict_lookup(zone, hash, key, key_len, &sd); dd("lookup returnd %d", (int) rc); if (op & NGX_HTTP_LUA_SHDICT_REPLACE) { if (rc == NGX_DECLINED || rc == NGX_DONE) { ngx_shmtx_...
3. Q_01JNGX001-2020BNC系列数控连接板冲孔(钻孔)打字机(11页)Q/01JNGX 济南光先数控机械有限公司企业标准 Q/01JNGX001-2020 BNC 系列数控连接板冲孔(钻孔)打字机 2020-05-01 发布 2020-06-01 实施 济南光先数控机械有限公司 发布 Q/01JNGX001-2020 前 言 本标准按照GB/T1.1-2009 《...
4. lua-nginx-module/001-set.t at master · openresty/luaset_by_lua $a 'return ngx.md5("hello")'; echo $a; } --- request GET /md5 --- response_body 5d41402abc4b2a76b9719d911017c592 --- no_error_log [error]=== TEST 12: no ngx.print --- config ...
5. json lua ngx -lua-resty-consul, 库与ngx_lua中的consul接口的接口.zip 2019-09-18 07:24:07 lua-resty-consul, 库与ngx_lua中的consul接口的接口lua-resty-consul库与ngx_lua中的consul接口的接口目录概述依赖项方法新插件 。get_decodedget_...
6. 附001.Nginx location语法规则 - 云+社区 -解释:虽然也符合规则C,但基于最大匹配原则,因此优先选择规则D。 访问:http://location.linuxds.com/test.txt,将匹配规则E: 解释:虽然也符合规则F,但正则中基于顺序优先,因此优先选择规则E。
7. [code.openresty] Openresty Nginx API for Lua -下 -ngx.req.socket 语法: tcpsock, err = ngx.req.socket() 语法: tcpsock, err = ngx.req.socket(raw) 上下文: rewrite_by_lua*, access_by_lua*, content_by_lua* 返回一个包含了下游连接的只读的cosocket对象。在这个对象...