Author Topic: Upgrade Nginx  (Read 4178 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Upgrade Nginx
« on: November 28, 2020, 08:43:16 AM »
Hello,

I'm a new member here and a new CWP user. So far I am quite satisfied using CWP to decide to become a Pro version user.

A little question, does CWP allow users to upgrade the webserver independently? I see that the version of Nginx I am using is still version 1.14. While the latest version is now at version 1.19.

Thanks.

Offline
*****
Re: Upgrade Nginx
« Reply #1 on: December 10, 2020, 08:50:55 PM »
Hi, you can update nginx manually.
Apache must be update via CWP only.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Upgrade Nginx
« Reply #2 on: April 01, 2023, 08:40:30 PM »
Hi, you can update nginx manually.
Apache must be update via CWP only.

How to do it? I mean how can update NGINX manually for CWP Pro?
Biswas Host Ltd

www.biswashost.com

Domain, Hosting, Cloud Hosting, VPS, Dedicated Server,

Web Design, SSL, VPN, Professional Email & More

Offline
****
Re: Upgrade Nginx
« Reply #3 on: April 01, 2023, 09:51:57 PM »

Offline
*
Re: Upgrade Nginx
« Reply #4 on: April 01, 2023, 10:40:04 PM »
Sandeep has a tutorial here:
https://www.uxlinux.com/update-nginx-to-latest-official-version-in-centos-8-el8-cwp/

Also consider hardening Nginx with the instructions here:
https://www.awsmonster.com/2019/09/how-to-secureharden-cwp-nginx-server.html

Thanks for quick reply, but I did it in a different way for my all server & found all of them working fine. I followed few tutorials from google & combine them:

Update CWP Nginx to latest stable version:

1. Go to CWP admin ---> Server Settings--->Yum Manager--->nginx.repo & replace with below code & save:

[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

2. Login as root via SSH & run below code:

yum update -y

3. Now you can give Nginx a restart, if don't found any error then you are & you can check your Nginx
version by below command:
nginx -v

4. If you found error while restarting Nginx then rebuild CWP Web Servers with Nginx & it's done, no error anymore, this
time CWP will build webserver with latest Nginx version.
Biswas Host Ltd

www.biswashost.com

Domain, Hosting, Cloud Hosting, VPS, Dedicated Server,

Web Design, SSL, VPN, Professional Email & More