After install Additional Packages nginx all my sites gone

rhnhrptl

Registered
Apr 6, 2020
1
0
1
Turkey
cPanel Access Level
Root Administrator
Hi there,

This is really urgent. We were using apache + nginx for our websites. (nginx as proxy) Then we want to use NGINX for another website and install NGINX from Additional Packages.

After that our all websites went down with "ERR_CONNECTION_REFUSED"

We've uninstall nginx but non of the websites come online again..

Can comeone please point me to the right direction...

Edit: no nginx service now when i try "service nginx restart"

Edit: What i am thinking of is we were using nginx as proxy all users conf were in nginx.conf of default.conf etc when we did install NGINX from Additional Packages it has changed the conf files.. All website files are there but no access.. Is there a undo to this?

Edit: i can see .rpmsave files. i think cpanel backuped the conf files before installing nginx as additional package. Now i think what we have to do is install nginx as proxy again and rename that conf.rpmsave files as original is this right? Please someone lead...

Edit: We've changed all ports on /etc/apache2/conf/httpd.conf to 80 and 443 from 8080 and 8443 to bring up websites. They are slow but online again. Now we should go back to nginx reverse proxy again
 
Last edited:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,269
313
Houston
I"m glad you were able to identify the issue per your last response. I'd suggest you open a ticket if you need assistance with the steps that should be taken considering you've already experienced issues as a result of the configuration.