I’m following the instructions on how to install nginx here:
https://www.nginx.com/resources/wiki/start/topics/tutorials/install/
But no matter what I do I always get:
http://nginx.org/packages/mainline/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
My nginx.repo file is like so:
cat /etc/yum.repos.d/nginx.repo
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/mainline/centos/7/$basearch/
gpgcheck=0
I also tried centos 6 and same thing.
So either the instructions are wrong, I’m doing something wrong, or nginx’s yum repos are down.
Maybe I have to compile nginx from source as an alternative?
I don’t see any mention anywhere on nginx’s repos being down:
https://mailman.nginx.org/pipermail/nginx/2024-February/thread.html
2
Answers
Getting the same for Ubuntu, the repos indeed seem to be down:
Same for debian!