Skip to content

Commit 58457bf

Browse files
authored
docs: add lua block (#60)
1 parent 8d08013 commit 58457bf

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,17 @@ Delay client_max_body_size check until the body is read.
1313
default: off
1414

1515
Disable request mirror until we enable it in the Lua code.
16+
17+
## Block
18+
19+
### lua
20+
21+
Apply ngx.shared.DICT that shared by http and stream subsystem.
22+
23+
example:
24+
25+
```nginx
26+
lua {
27+
lua_shared_dict prometheus-metrics 15m;
28+
}
29+
```

0 commit comments

Comments
 (0)