Follow these steps to put in Nginx on UNIX operating system and tack together PHP support, virtual hosts, communications protocol authentication, SSL support, uniform resource locator rewrites, and cargo reconciliation.
Although the most popular Web server in the world is still Apache, Nginx is cutting into that market share in a very significant way. Both versatile and extremely fast, Nginx generally performs faster than Apache right out of the box, especially when serving static content or acting as a reverse proxy server. It’s used to serve content for many extremely large-volume websites.
In this how-to, we’ll show you how to get started with Nginx on Fedora, CentOS, and Ubuntu Linux distributions. In addition, we’ll install PHP-FPM to handle dynamic PHP content.
Installing Nginx on Fedora and CentOS
Nginx can run even while Apache is installed on the same system, but we need to make sure Apache is not running at the same time, or at least on the same ports. So let’s make sure Apache isn’t running or set to run at startup. We do that on most Fedora and CentOS installations via the following commands, run as root or with sudo:
Read More :- InfoWorld