New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Upgrade Nginx

Started by anditasb, November 28, 2020, 08:43:16 AM

Previous topic - Next topic

anditasb

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.

Igor S.

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

Biswashost

Quote from: Igor S. on December 10, 2020, 08:50:55 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


Biswashost

Quote from: overseer on April 01, 2023, 09:51:57 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

Vinayak

This will update nginx that runs CWP or the webserver?

overseer

Webserver. CWP runs under Apache.

Vinayak