Not able to install nginx on AWS AMI

electrotwelve nginx-forum at
Wed Oct 14 09:22:17 UTC 2020

Hi, I spun up an AWS AMI and followed this guide to install nginx:

However, when I try to install I get the following error:

Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
                       | 3.7 kB  00:00:00
                       | 3.0 kB  00:00:00 [Errno 14]
HTTP Error 404 - Not Found
Trying other mirror.

 One of the configured repositories failed (nginx stable repo),
 and yum doesn't have enough cached data to continue. At this point the
 safe thing yum can do is fail.

Not sure why its trying to access centos/2 folder. I see the version 8 being
the most recent one.

Posted at Nginx Forum:,289734,289734#msg-289734

More information about the nginx mailing list