CI | RPM |
---|---|
This repository provides unofficial rpmbuild scripts for CentOS.
- nginx-module-lua - Embed the Power of Lua into NGINX HTTP servers
- nginx-module-ndk - Nginx Development Kit
Both are built as dynamic modules conforming to upstream nginx package.
Tested working on:
- CentOS 7/ CentOS 6 x86_64
- When you try to build on el7/el6, must enable the EPEL repository.
$ sudo yum install -y epel-release
$ sudo yum install -y http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
$ sudo sed -i -e 's@/packages/@/packages/mainline/@' /etc/yum.repos.d/nginx.repo
$ sudo curl -L https://copr.fedorainfracloud.org/coprs/khara/nginx-module-ndk-lua/repo/epel-7/khara-nginx-module-ndk-lua-epel-7.repo -o /etc/yum.repos.d/nginx-module-ndk-lua.repo
$ sudo yum install -y nginx nginx-module-lua
mainline
only
/etc/yum.repos.d/nginx.repo
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
- This repository and all files that are included in this, there is no relationship at all with the upstream and vendor.