Conflicting nginx
You should ensure your host is NOT already running nginx which will conflict with xplex .
These following checks are especially necessary if you’re reusing a host system, which may already have nginx installed & running for other services:
-
Is
nginxrunning as a service/daemon?Check nginx service status systemctl status nginx# should be inactive or not foundIf it shows
activeorenabled, it’s up to you to decide whether to stop/disable it. It may be running important services on the host, so be careful of stopping or disabling it.Remove previous nginx service from host systemctl stop nginxsystemctl mask nginxsystemctl disable nginx -
Is
nginxrunning as a process?Check nginx process status ps aux | grep nginxEven in this case, if it’s running, then it’s up to you to decide whether to stop it. It may break important services on the host, so be careful of stopping it.
Stop existing nginx process nginx -s stop -
Is
nginxinstalled on host?Check if nginx is available in $PATH which nginxIf nginx is installed, but from the previous steps you’ve verified that it’s not running, then you can safely ignore it. We will use a different (RTMP enabled)
nginxbuild for xplex .You can also choose to remove it if you’re sure it’ll not be needed (not recommended).