Hello!
In the default configuration from official site:
https://www.nginx.com/resources/wiki/start/topics/tutorials/install/
corresponding yum config is not valid for EC2 RHEL t2.micro instance
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/rhel/$releasever/$basearch/
gpgcheck=0
enabled=1
Because it's resolved into the broken link:
failure: repodata/repomd.xml from nginx: [Errno 256] No more mirrors to try.
http://nginx.org/packages/rhel/7Server/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Somebody should add new config for Amazon EC2 RHEL like:
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/rhel/7/$basearch/
gpgcheck=0
enabled=1
or investigate problem depeer, and suggest better config.
Can anyone forward my suggestion to website admins?