From d3f9e6f379c575b1fe5f8d694101aa1142e44015 Mon Sep 17 00:00:00 2001 From: AsteroidOrangeJuice Date: Tue, 7 Oct 2025 23:11:07 -0700 Subject: [PATCH] Fix code block not closing correctly --- crowdsec-docs/unversioned/bouncers/nginx.mdx | 3 ++- crowdsec-docs/unversioned/bouncers/openresty.mdx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/crowdsec-docs/unversioned/bouncers/nginx.mdx b/crowdsec-docs/unversioned/bouncers/nginx.mdx index 8de4c0c0a..da5c3f768 100644 --- a/crowdsec-docs/unversioned/bouncers/nginx.mdx +++ b/crowdsec-docs/unversioned/bouncers/nginx.mdx @@ -245,7 +245,8 @@ init_worker_by_lua_block { ngx.log(ngx.INFO, "Initializing metrics for worker " .. tostring(ngx.worker.id())) cs.SetupMetrics() end -}``` +} +``` The component uses [lua_shared_dict](https://github.com/openresty/lua-nginx-module#lua_shared_dict) to share cache between all workers. diff --git a/crowdsec-docs/unversioned/bouncers/openresty.mdx b/crowdsec-docs/unversioned/bouncers/openresty.mdx index 3d37a2a81..113b064d7 100644 --- a/crowdsec-docs/unversioned/bouncers/openresty.mdx +++ b/crowdsec-docs/unversioned/bouncers/openresty.mdx @@ -230,7 +230,8 @@ init_worker_by_lua_block { ngx.log(ngx.INFO, "Initializing metrics for worker " .. tostring(ngx.worker.id())) cs.SetupMetrics() end -}``` +} +``` The component uses [lua_shared_dict](https://github.com/openresty/lua-nginx-module#lua_shared_dict) to share cache between all workers.