Error: Unknown repo: 'nginx'

Started by anandmys, Today at 05:21:00 AM

Previous topic - Next topic

anandmys

Few months back when I was using Nginx & Varnish & Apache option, websites suddenly went down.

So I used Apache only option.

After the recent updates, I tried rebuilding Nginx & Varnish & Apache option

I got the error

Nginx could not be installed, nothing was changed.
Error: Unknown repo: 'nginx'


overseer

What do you have for / etc / yum.repos.d / nginx.repo ?
[nginx-mainline]
name=Nginx repo
baseurl=https://nginx.org/packages/mainline/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true