Author Topic: Outdated Nginx  (Read 1197 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Outdated Nginx
« 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
« Last Edit: May 22, 2023, 11:47:28 AM by bullten »

Offline
***
Re: Outdated Nginx
« Reply #1 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.
« Last Edit: May 22, 2023, 05:03:22 PM by cyberspace »