Subscribe

How to install nginx-module-stream-lua in CentOS/RHEL 8 (x86_64)

Lua scripting support for NGINX streams

License: BSD-2-Clause Vendor: GetPageSpeed LLC https://github.com/GetPageSpeed/stream-lua-nginx-module

Install

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --enable getpagespeed-extras-mainline
sudo dnf -y install nginx-module-stream-lua

Description

Embed the power of Lua into Nginx stream/TCP Servers. To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ngx_stream_lua_module.so; Alternatively, you can enable all installed modules by placing this line at the top of /etc/nginx/nginx.conf: include /usr/share/nginx/modules/*.conf;

RPMs

Danila Vershinin (2026-03-27) - Updated to upstream module version 0.0.18 (from GetPageSpeed fork) · - Fixes lua-resty-core 0.1.32+ compatibility (ngx_stream_lua_ffi_socket_tcp_getfd) · - Removed fix-ifnamsiz-el7.patch (merged upstream)
Danila Vershinin (2024-08-09) - upstream module version auto-updated to 0.0.15
Danila Vershinin (2024-08-09) - upstream module version auto-updated to 0.0.15
Danila Vershinin (2024-01-05) - upstream module version auto-updated to 0.0.14
Danila Vershinin (2024-01-05) - upstream module version auto-updated to 0.0.14
Danila Vershinin (2023-03-24) - upstream module version auto-updated to 0.0.13
Danila Vershinin (2023-03-24) - upstream module version auto-updated to 0.0.13
Danila Vershinin (2023-03-24) - upstream module version auto-updated to 0.0.13
Danila Vershinin (2023-03-24) - upstream module version auto-updated to 0.0.13
Danila Vershinin (2023-03-24) - upstream module version auto-updated to 0.0.13
Danila Vershinin (2022-05-14) - upstream module version auto-updated to 0.0.11