Nginx HTTP Server(一本关于nginx非常不错的书)

1,Preparing your Work
Setting up a terminal emulator for using the command-line interface of your remote server
Basic Linux command-line tools that you will be using at different stages
Introduction to the Linux filesystem structure
System administration tools
Managing files and permissions
2,Downloading and Installing
Downloading and installing the prerequisites for compiling the Nginx binaries
Downloading a suitable version of the Nginx source code
Configuring Nginx compile time options
Controlling the application with an init script
Configuring the system to launch Nginx automatically on startup
3,Basic Nginx Configuration
Presentation of the configuration syntax
Basic configuration directives
Establishing an appropriate configuration for your profile
Serving a test website
Testing and maintaining your server
4,HTTP Configuration
An introduction to the HTTP Core module
The http / server / location structure
HTTP Core module directives, thematically
HTTP Core module variables
The in-depths of the location block
5,Module Configuration
The Rewrite module, which does more than just rewriting URIs
The SSI module, a server-side scripting language
Additional modules enabled in the default Nginx build
Optional modules that must be enabled at compile time
A quick note on third-party modules
6,PHP and Python with Nginx
Discovering the CGI and FastCGI technologies
The Nginx FastCGI module
Load balancing via the Upstream module
Setting up PHP and PHP-FPM
Setting up Python and Django
Configuring Nginx to work with PHP and Python
7,Apache and Nginx Together
An introduction to the reverse-proxy mechanism
The advantages and disadvantages of the architecture
Discovering the Proxy module of Nginx
Configuring Nginx to work with Apache
Reconfiguring Apache to work as a backend server
Additional tweaks and notes
8,From Apache to Nginx
An in-depth comparison between Apache and Nginx
A full guide to porting your Apache configuration
How to port your Apache rewrite rules to Nginx
Rewrite rule walkthroughs for a few popular web applications
It is a well-known fact that the web server market has a long-established leader: Apache. According to recent surveys, as of October 2015, almost 35 percent of the World Wide Web is served by this 20-year-old open source application. However, for the past few years, the same reports reveal the rise of a new competitor: Nginx, a lightweight HTTP server originating from Russia—pronounced engine X. There have been many questions surrounding this young web server. What is the reason causing so many server administrators to switch to Nginx since the beginning of year 2009? Is this tiny piece of software mature enough to run my high-traffic website? To begin with, Nginx is not as young as one might think. Originally started in 2002, the project was first carried out by a standalone developer, Igor Sysoev, for the needs of an extremely high-traffic Russian website, namely Rambler, which received as of September 2008 over 500 million HTTP requests per day. The application is now used to serve some of the most popular websites on the web, such as Reddit, Wikipedia, WordPress, Dropbox, and many more. Nginx has proven to be a very efficient, lightweight yet powerful web server. Throughout this book, you will discover many features of Nginx and progressively understand why so many administrators have decided to place their trust in this new HTTP server, often at the expense of Apache. There are many aspects in which Nginx is more efficient than its competitors, first and foremost, speed: making use of asynchronous sockets, Nginx does not spawn processes as many times as it receives requests. One process per core suffices to handle thousands of connections, allowing a much lighter CPU load and memory consumption. Second, ease of use: configuration files are much simpler to read and tweak than with other web server solutions, such as Apache. A couple of lines are enough to set up a complete virtual host configuration. Last but not least, modularity: not only is Nginx a completel
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值