Skip to content

nginx-module-lua and nginx-module-ndk rpm spec (dynamic modules)

Notifications You must be signed in to change notification settings

kazuhisya/nginx-module-ndk-lua

Repository files navigation

nginx-module-ndk-lua

CI RPM
Circle CI FedoraCopr

This repository provides unofficial rpmbuild scripts for CentOS.

Both are built as dynamic modules conforming to upstream nginx package.

Distro support

Tested working on:

  • CentOS 7/ CentOS 6 x86_64
    • When you try to build on el7/el6, must enable the EPEL repository.

Install (CentOS7)

$ 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

Version of the corresponding nginx

  • 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

Disclaimer

  • This repository and all files that are included in this, there is no relationship at all with the upstream and vendor.