Author Topic: Will CWP auto update potentially override any of NGINX configs?  (Read 8020 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi,

I'm very new to CWP and have one (CWP7Pro) installed on CentOS 7 with NGINX.
I had bad experience with cPanel/WHM in the past overriding Apache configs if there were any auto updates to it.

Will CWP override any of the nginx configs under any circumstances? (besides manually rebuilding stuff).

And, is there any way to disable auto updates? I can't find any update related menu in it yet.


Thanks!
Mark

Offline
****
Re: Will CWP auto update potentially override any of NGINX configs?
« Reply #1 on: March 28, 2020, 04:26:10 AM »
Yes.  It will override any custom configurations if you rebuild the vhosts.  However, you can create your own template that will not be overridden.
Google Hangouts:  rcschaff82@gmail.com

Offline
*****
Re: Will CWP auto update potentially override any of NGINX configs?
« Reply #2 on: March 28, 2020, 08:27:06 AM »
override are based on template in use it is recommended to create custom template for your website and use it, in this way it will not overridden.

Offline
*
Re: Will CWP auto update potentially override any of NGINX configs?
« Reply #3 on: March 28, 2020, 01:41:02 PM »
I can't rebuild vhosts as I am getting:

Notice: Undefined index: apache_template-type-default in /usr/local/cwpsrv/htdocs/resources/admin/modules/WebServers_conf.php on line 0

The vhosts configs are getting updated with default template no matter what template I select. I tried force-https-http2 and others but no bueno.
« Last Edit: March 28, 2020, 01:44:02 PM by Mark2000 »

Offline
****
Re: Will CWP auto update potentially override any of NGINX configs?
« Reply #4 on: March 28, 2020, 06:33:20 PM »
Check WebServer Settings -> Webservers Main Conf to see if there is a default template set that does not exist.
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Will CWP auto update potentially override any of NGINX configs?
« Reply #5 on: April 07, 2020, 06:15:31 PM »
I can't rebuild vhosts as I am getting:

Notice: Undefined index: apache_template-type-default in /usr/local/cwpsrv/htdocs/resources/admin/modules/WebServers_conf.php on line 0

I get the same problem. Basically the Webservers Main Conf is useless and applies the default template to everything no matter what I select on the Webservers Main Conf page.

The only way to apply my own templates is by changing them individually by domain under Webservers Domain Conf. That works, but needs to be applied manually as the Main Conf won't let me change the default due to the Undefined index error above.

Please help!
I am using only NGINX

Offline
*
Re: Will CWP auto update potentially override any of NGINX configs?
« Reply #6 on: April 07, 2020, 08:28:00 PM »
you can contact cwp support to check that
https://control-webpanel.com/contact
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.