Skip to content

Commit 21cfd8a

Browse files
committed
doc: ported recent changes in mardkown to the wiki file.
1 parent b0875fa commit 21cfd8a

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

doc/HttpLuaModule.wiki

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
849849
850850
= See Also =
851851
852+
Other related modules and libraries:
853+
852854
* [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).
853855
* [https://github.com/openresty/lua-resty-memcached lua-resty-memcached] library based on ngx_lua cosocket.
854856
* [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
871873
* [https://openresty.org The OpenResty bundle]
872874
* [https://github.com/openresty/nginx-systemtap-toolkit Nginx Systemtap Toolkit]
873875
876+
Blog posts:
877+
878+
* [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+
874882
= Directives =
875883
876884
<!-- inline-toc -->
@@ -1156,6 +1164,11 @@ You should be very careful about potential security vulnerabilities in your Lua
11561164
11571165
This directive was first introduced in the <code>v0.5.5</code> release.
11581166
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+
11591172
== init_by_lua_block ==
11601173
11611174
'''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
32743287
set $dog 'hello';
32753288
content_by_lua_block {
32763289
res = ngx.location.capture("/other",
3277-
{ copy_all_vars = true });
3290+
{ copy_all_vars = true })
32783291
32793292
ngx.print(res.body)
32803293
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.
44024415
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]].
44034416
44044417
<geshi lang="lua">
4405-
ngx.exec('/some-location');
4418+
ngx.exec('/some-location')
44064419
ngx.exec('/some-location', 'a=3&b=5&c=6')
44074420
ngx.exec('/some-location?a=3&b=5', 'c=6')
44084421
</geshi>

0 commit comments

Comments
 (0)