I have some Amazon Linux 2 EC2 instances.
I've installed the Amazon Linux 2 EPEL topic and the EPEL repo:
amazon-linux-extras install epel
I've installed the latest available version of nginx:
yum install nginx
The version I get is 1.20.1
.
1.20.2
appears to have been released on November 16th, 2021. If I take a closer look I can see the EPEL repo is pointing at a fedoraproject.org repo:
Partial contents of epel.repo:
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
If I navigate to http://download.fedoraproject.org and search through the packages, I can confirm that only 1.20.1 is available.
On my RHEL 7 servers, they all have NGINX 1.20.2. Why does this repo still not have NGINX 1.20.2 available? Am I missing something? I would like to have NGINX 1.20.2 (or whatever latest version is available at the time) installed through an available repo including future updates, on my AMZ Linux 2 instances. I do not plan on building the package or installing the .rpm manually as this sticks me at a certain version without updates.