Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - greenlight

Pages: [1]
1
We manage a webserver with CWP, using the 'Apache & Nginx Reverse Proxy' configuration. In this configuration, Nginx listens on port 80 and Apache on port 8181. This morning I found that last night cwp-httpd had been auto-updated, and that this update had overwritten the Apache configuration with a default configuration listening on port 80. Since this port was already claimed by Nginx, Apache no longer started.

Rebuilding the server-configuration from within CWP (at Apache Settings >> Select WebServers) didn't resolve the problem, so I restored a backup of the /usr/local/apache/conf and /usr/local/apache/conf.d directories to get the server working again.

a) has anybody else had the same problem?
b) how can I prevent this from happening in the future, other than disabling auto-updates or abandoning the 'Apache & Nginx Reverse Proxy' setup?
c) on the CWP dashboard, Nginx is not listed and the Apache webserver is marked 'inactive'. Apparently the dashboard does not take into account the 'Apache & Nginx Reverse Proxy' setting. I cannot remember whether that was the case before the update of last night. Can anybody tell me whether this is normal for an 'Apache & Nginx Reverse Proxy' CWP-setup?

Server info: CentOS 7.3.1611 x86_64, cwp-srv 1.10.2-4, cwp-httpd 2.4.25-4 (updated from 2.4.25-3).

Pages: [1]