You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/HttpLuaModule.wiki
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -849,6 +849,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
849
849
850
850
= See Also =
851
851
852
+
Other related modules and libraries:
853
+
852
854
* [https://github.com/openresty/stream-lua-nginx-module#readme ngx_stream_lua_module] for an official port of this module for the Nginx "stream" subsystem (doing generic downstream TCP communications).
853
855
* [https://github.com/openresty/lua-resty-memcached lua-resty-memcached] library based on ngx_lua cosocket.
854
856
* [https://github.com/openresty/lua-resty-redis lua-resty-redis] library based on ngx_lua cosocket.
@@ -871,6 +873,12 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* [How OpenResty and Nginx Allocate and Manage Memory](https://blog.openresty.com/en//how-or-alloc-mem)
879
+
* [How OpenResty and Nginx Shared Memory Zones Consume RAM](https://blog.openresty.com/en/how-nginx-shm-consume-ram/)
880
+
* [Memory Fragmentation in OpenResty and Nginx's Shared Memory Zones](https://blog.openresty.com/en/nginx-shm-frag/)
881
+
874
882
= Directives =
875
883
876
884
<!-- inline-toc -->
@@ -1156,6 +1164,11 @@ You should be very careful about potential security vulnerabilities in your Lua
1156
1164
1157
1165
This directive was first introduced in the <code>v0.5.5</code> release.
1158
1166
1167
+
See also the following blog posts for more details on OpenResty and Nginx's shared memory zones:
1168
+
1169
+
* [How OpenResty and Nginx Shared Memory Zones Consume RAM](https://blog.openresty.com/en/how-nginx-shm-consume-ram/)
1170
+
* [Memory Fragmentation in OpenResty and Nginx's Shared Memory Zones](https://blog.openresty.com/en/nginx-shm-frag/)
1171
+
1159
1172
== init_by_lua_block ==
1160
1173
1161
1174
'''syntax:'''''init_by_lua_block { lua-script }''
@@ -3274,7 +3287,7 @@ The <code>copy_all_vars</code> option provides a copy of the parent request's Ng
3274
3287
set $dog 'hello';
3275
3288
content_by_lua_block {
3276
3289
res = ngx.location.capture("/other",
3277
-
{ copy_all_vars = true });
3290
+
{ copy_all_vars = true })
3278
3291
3279
3292
ngx.print(res.body)
3280
3293
ngx.say(ngx.var.uri, ": ", ngx.var.dog)
@@ -4402,7 +4415,7 @@ This function was first introduced in the <code>v0.5.0rc1</code> release.
4402
4415
Does an internal redirect to <code>uri</code> with <code>args</code> and is similar to the [[HttpEchoModule#echo_exec|echo_exec]] directive of the [[HttpEchoModule]].
0 commit comments