I have an inherited server running Apache on several IPs and nginx on 1 IP. EasyApache 4 is installed. Occasionally EA runs and updates Apache. The process seems to be that EA kills all processes running on port 80 regardless of whether the service is Apache or nginx. Once EA completes its updates, it restarts the Apache processes while nginx is left stopped.
Is there a way to tell EA to either 1) only kill port 80 processes by the daemon name so that only Apache is shut down or 2) to ignore processes bound to a particular IP address or 3) to restart nginx at the same time Apache is restarted?
Basically I need EA to play nicely with nginx or ignore the service and the IP it's bound to. I do have the nginx IP set as reserved in cPanel/WHM if that makes any difference.
Thanks in advance. I'm a cPanel/WHM/EasyApache noob and more familiar with configuration by conf files and command line. Unfortunately that is not an option for the server in question.
Is there a way to tell EA to either 1) only kill port 80 processes by the daemon name so that only Apache is shut down or 2) to ignore processes bound to a particular IP address or 3) to restart nginx at the same time Apache is restarted?
Basically I need EA to play nicely with nginx or ignore the service and the IP it's bound to. I do have the nginx IP set as reserved in cPanel/WHM if that makes any difference.
Thanks in advance. I'm a cPanel/WHM/EasyApache noob and more familiar with configuration by conf files and command line. Unfortunately that is not an option for the server in question.