Following the instructions, I added the repository...
$sudo yum-config-manager --add-repo https://openresty.org/package/amazon/openresty.repo
Loaded plugins: langpacks, priorities, update-motd
adding repo from: https://openresty.org/package/amazon/openresty.repo
grabbing file https://openresty.org/package/amazon/openresty.repo to /etc/yum.repos.d/openresty.repo
repo saved to /etc/yum.repos.d/openresty.repo
So far so good...
$sudo yum install openresty
Loaded plugins: langpacks, priorities, update-motd
https://openresty.org/package/amazon/2017.12/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
So I tried
$curl https://openresty.org/package/amazon/latest/x86_64/repodata/repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm">
.....
So it can fetch the file but I keep getting a 404 on that url from all the yum commands involving openresty. Any ideas? The EC2 instance is in us-east-1 if that matters.
Thanks.