Home >Backend Development >PHP Tutorial >Nginx study notes (1) - Getting started
What is Nginx? ?
Nginx official website
http://nginx.org/
http://nginx.org/cn
Nginx Chinese website
http://www.nginx.cn/
Why use Nginx
http://nginx.org/cn
Nginx is a high-performance Web and reverse proxy server, which has many very superior features:
As a Web server:
Compared Apache and Nginx use fewer resources, support more concurrent connections, and reflect higher efficiency.
This makes Nginx especially popular with virtual host providers. Able to support responses of up to 50,000 concurrent connections,
Thanks to Nginx for choosing epoll and kqueue as the development model for us.
As a load balancing server:
Nginx can directly support Rails and PHP internally, or Supports external services as an HTTP proxy server.
Nginx is written in C, and its system resource overhead and CPU usage efficiency are much better than Perlbal.
As a mail proxy server:
Nginx is also a very good mail proxy server (one of the first purposes of developing this product is also as a mail proxy server), Last.fm describes the successful and wonderful use experience.
Nginx installation is very simple, the configuration file is very concise (it can also support perl syntax), and the server with very few bugs:
Nginx is particularly easy to start, and can run almost 7*24 without interruption, even if it is running No reboot required for several months. You can also upgrade the software version without interrupting service.
The above introduces Nginx study notes (1) - getting started, including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.