Software for UNIX systems used as a HTTP server or a mail proxy server.
If the Apache service has been pre-installed in the utilized operating system, uninstall it.
If you are using CentOS version 7.x, Red Hat Enterprise Linux version 7.x, or SUSE Linux Enterprise Server 15 SP1, enable repository support for installing the nginx service. To do so, perform the following actions depending on the utilized operating system:
In the CentOS operating system, create a file named /etc/yum/repos.d/nginx.repo with the following contents: