We have Nginx server installed for *Elasticsearch. We need to upgrade the Nginx from 1.16 to 1.20. Trying the mainline version. Used the repo script from Nginx.org page. Created a repository in the folder /etc/yum.repos.d/nginx.repo
name=nginx_mainline_repo
baseurl=http://nginx.org/packages/mainline/centos/7Server/x86_64/
gpgcheck=1
enabled=1
gpgkey=file:///home/<directory>/nginx_signing.key
module_hotfixes=true
When I ran the command, yum upgrade nginx, get the following error output.
failure: repodata/repomd.xml from nginx-mainline: [Errno 256] No more mirrors to try.
http://nginx.org/packages/mainline/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://nginx.org/packages/mainline/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://nginx.org/packages/mainline/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://nginx.org/packages/mainline/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://nginx.org/packages/mainline/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Any idea how to resolve this ? We are running it on NSX. Tested by allowing any rule for the server. In our perimeter firewall, seeing a tcp-rst-from-client.