1

I have an Amazon Linux 2 machine. I have installed NGINX with

amazon-linux-extras install nginx1.12

How can I install nginx-mod-http-lua?

I have tried:

yum search lua

and no packages are listed which look like what I want.

This page https://docs.nginx.com/nginx/admin-guide/dynamic-modules/lua/ says to run yum install nginx-plus-module-lua, but I get No package nginx-plus-module-lua available.

mature
  • 161
  • 2
  • 11
Rich
  • 626
  • 11
  • 28

2 Answers2

2

Installation procedure that you are referring to is for NGINX+

You can try with this: https://stackoverflow.com/questions/50357732/adding-lua-module-to-nginx

0

Since Amazon Linux 2 is largely a clone of CentOS/RHEL, you may have your luck with RPM packages for those systems:

yum install https://extras.getpagespeed.com/release-el7-latest.rpm
yum install nginx-module-lua
Danila Vershinin
  • 4,738
  • 3
  • 16
  • 21