I'm trying to update Nginx. This is my nginx.repo contents:
[nginx-stable]
name=nginx stable repo
baseurl=https://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=1
enabled=0
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true
[nginx-mainline]
name=nginx mainline repo
baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true
This is the result I get:
[root@WebServer ~]# dnf update
nginx mainline repo 0.0 B/s | 0 B 02:04
Errors during downloading metadata for repository 'nginx-mainline':
- Curl error (28): Timeout was reached for http://nginx.org/packages/mainline/centos/8/x86_64/repodata/repomd.xml [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
Error: Failed to download metadata for repo 'nginx-mainline': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@WebServer ~]#
The network is OK. When I disable the Nginx updates, DNF works just fine.
What is wrong?
Thanks,
Tom