Author Topic: automatic update of cwp-httpd.x86_64 2.4.48-2 causes Nginx bad gateway error  (Read 2501 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hello

I received a notice to update packages, as usual I did run the yum manager updater in cwp, the only package I was prompted to update is cwp-httpd.x86_64    version 2.4.48-2

The updater ran smoothly and gave no errors whatsoever.
however, when the update was complete all websites were not visible due to "Nginx bad gateway" error

This problem was seen only on the websites, the cwp panel did work normally, so I tried to reboot the server, when restarted all was the same, websites not working, CWP working.

I reversed everything using a snapshot done just prior the update.

What should I check and do to solve this problem and let the server update cwp-httpd.x86_64    2.4.48-2 then fix the problem and have it ready to go?

Apache version: Apache/2.4.46
PHP version: 7.4.13 PHP-FPM is forced
Web Servers: nginx-apache
CWPpro version: 0.9.8.1086
Distro Name: CentOS Linux release 7.9.2009 (Core)
Kernel Version: 3.10.0-1160.42.2.el7.x86_64

Hint: previously I followed Sandeep's tutorial to get the A grade with SSL https://www.mysterydata.com/get-a-score-rating-with-ssllabs-qualys-in-cwp-control-web-panel/

Thank you
« Last Edit: October 06, 2021, 12:14:57 PM by David »

Offline
*
rebuild webservers from cwp --> Select WebServers
that should fix any issue with bad config
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Hello

Thank you for the hint

I am sorry to be so ignorant about, I have a doubt, before trying anything I would like to foresee what I am going to get and what eventually I will have to do without too many try-outs...

As I did follow the Sandeep tutorial to have Apache and Nginx to use TLS 1.2 and 1.3 and get a higher rating for SSL (which worked well apparently, I also added sever headers and got a quite high security score) I do not want to loose that configuration.

I am afraid that rebuilding the webservers from cwp is going to revert everything to the default, will rebuilding the webservers cancel the things I did following Sandeep's tutorial?

Thank you