Skip to content

Commit 67e7104

Browse files
author
jdv
committed
adding warning about incompatibility wiht ubuntu 22
1 parent 2b2c96f commit 67e7104

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

crowdsec-docs/unversioned/bouncers/nginx.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,18 @@ Here is a config example, but you can change values:
302302
resolver 8.8.8.8 ipv6=off;
303303
lua_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;
304304
```
305+
### I have ubuntu 22.xx and I get an error with `lua`
306+
307+
Nginx package for Ubuntu 22.xx did not include `lua` module for some issues with other modules.
308+
It's fixed and the module is back in the following version of Ubuntu.
309+
What to do to resolve the issue?
310+
* Of course, most logicalwould be to upgrade to Ubuntu >=24.04
311+
* You could also use openresty instead of nginx, it includes lua module and is compatible with the component.
312+
* It changes some paths as the service is different, but the configuration is the same as NGINX as it's a "fork" of it.
313+
* You could also compile the lua module yourself but it involves more manual work
314+
315+
```bash
316+
305317
306318
And restart Nginx.
307319

0 commit comments

Comments
 (0)