nginx: Linux packages
https://nginx.org/en/linux_packages.htmlTo install nginx, run the following command: sudo apk add nginx@nginx The @nginx tag should also be specified when installing packages with dynamic modules: sudo apk add nginx-module-image-filter@nginx nginx-module-njs@nginx Amazon Linux. Install the prerequisites: sudo yum install yum-utils
How to install Nginx with an exact version on Amazon Linux 2 ...
stackoverflow.com › questions › 68418247Jul 17, 2021 · The Amazon Linux way is the following. First, enable the NGINX repository provided by Amazon: amazon-linux-extras enable nginx1 This enabled a sub-repository with NGINX. Now, list available versions by running: yum info nginx --showduplicates From there, you can decipher that 1.14.2 is not available specifically for Amazon Linux. But that does not mean that you should install random other direct RPM via URL.