Linux installation and configuration of Nginx (Ubuntu)

Nginx is a high performance HTTP and reverse proxy server, its performance with Apache. Now to install Nginx on Linux!

1 installation

2 after the installation is completed, the directory structure for:

In the configuration file/etc/nginx

The program file at/usr/sbin/nginx

The log file in/var/log/nginx

The startup script in/etc/init.d/nginx

Virtual host the default directory is set in the/var/www/nginx-default

3 boot

4 in the browser, enter the localhost

Success!

Posted by Brendan at March 17, 2014 - 9:18 AM