Control Web Panel

WebPanel => Apache => Nginx => Topic started by: bullten on May 22, 2023, 11:45:16 AM

Title: Outdated Nginx
Post by: bullten on May 22, 2023, 11:45:16 AM
Will you please remove your existing repo as it install 1.14 version of nginx and start using below repo

[nginx-stable]
name=nginx stable repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
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=0
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true
Title: Re: Outdated Nginx
Post by: cyberspace on May 22, 2023, 05:01:51 PM
CWP installs NGINX from the repo EPEL. EPEL isn't maintained by CWP. If you want to install more recent version of NGINX then do following:

1. Add the line:

Code: [Select]
exclude=nginx*
into the section [epel] of the file:
/etc/yum.repos.d/epel.repo

2. Add your own (preferred) repo for NGINX:
Official Nginx repo: https://nginx.org/en/linux_packages.html#RHEL
Nginx with extra mods from GetPageSpeed: https://www.getpagespeed.com/redhat
or something else.

3. Update NGINX.