Practice nginx: replacing Apache's high-performance Web Server

Source: Internet
Author: User
Tags image filter php website server installation and configuration nginx server what is nginx nginx reverse proxy nginx load balancing

Practice nginx: replacing Apache's high-performance Web Server

This book Details View: http://www.china-pub.com/196364

Pricing: ¥55.00
Member price: ¥41.25 (off)

Basic Information
Author: Zhang banquet
Press: Electronic Industry Press
ISBN: 9787121102479
Mounting time:
Published on: February 1, February 2010
Start: 16
Page number: 1
Version: 1-1

[Edit recommendations]
Analysis of nginx Server Load balancer and reverse proxy configuration and Optimization
Describes how to use nginx core modules and how to develop modules.
Share experiences of using nginx in Sina podcast and Kingsoft Xiaoyao Network

[Content Overview]
Nginx is a high-performance HTTP and reverse proxy server compiled by the Russian Igor Sysoev. Nginx selects epoll and kqueue as the network I/O model. In the case of high connection concurrency, the consumption of system resources such as memory and CPU is very low and runs stably.
This book systematically introduces how to use nginx in combination with PHP, Ruby, and python, how to configure and optimize nginx as a reverse proxy and Server Load balancer, and how to develop the nginx module, it also provides Sina podcasts, Sohu blogs, room six, and discuz! Official Forum, Xunlei online, and Ganji use nginx application examples. Finally, the core module of nginx is comprehensively analyzed. This book is suitable for beginners of nginx and has a certain foundation. I hope to have an in-depth understanding of nginx website architects and web developers.

Directory
Part 1 basics 1
Chapter 3 nginx Introduction 3
1.1 Introduction to common Web servers 3
1.2 nginx Introduction 5
1.3 reason for nginx selection 5
1.4 comparison between nginx, Apache, and Lighttpd 10
Chapter 2 nginx Server installation and configuration 11
2.1 system resources required for nginx Server Installation 11
2.2 nginx download 12
2.3 nginx installation 12
2.4 start, stop, and smooth restart of nginx 17
2.5 nginx smooth restart 18
2.6 nginx signal control 19
2.7 smooth nginx upgrade 19
Part 1 level 21
Chapter 2 basic configuration and optimization of nginx 23
3.1 complete nginx configuration example 23
3.2 nginx virtual host configuration 26
3.3 nginx log file configuration and cutting 31
3.4 nginx compressed output configuration 36

. 3.5 nginx automatic column directory configuration 38
3.6 nginx browser local cache settings 39
Chapter 4 installation, configuration and optimization of nginx and PHP (FastCGI) 41
4.1 obtain related open-source programs 42
4.2 install PHP 5.2.10 (FastCGI mode) 45
4.3 install nginx 0.8.15 55
4.4 configure to automatically start nginx + PhP at startup 58
4.5 optimize Linux Kernel Parameters 59
4.6 smoothly changing the nginx configuration without stopping the nginx service 59
4.7 compile a daily script for regular nginx log cutting 60
Chapter 2 installation and configuration of nginx and JSP, ASP. NET, and Perl 61
5.1 install and configure nginx and JSP (Tomcat) on Linux 61
5.2 install and configure nginx and ASP. NET (mono + FastCGI) on Linux 64
5.3 install and configure nginx and Perl (FastCGI) on Linux 68
Chapter 5 configuration and optimization of nginx HTTP Server Load balancer and reverse proxy 75
6.1 what is Server Load balancer and reverse proxy 75
6.2 Common web Load Balancing Methods 76
6.3 nginx Server Load balancer and reverse proxy configuration instance 85
6.4 nginx Load Balancing HTTP upstream module 90
6.5 nginx Server Load balancer's dual-host high availability 93
Chapter 4 compiling an instance with nginx Rewrite Rules 7th
7.1 What is nginx rewrite Rule 101
7.2 nginx rewrite rule-related commands 102
7.3 PCRE regular expression syntax 110
7.4 nginx rewrite rule compiling example 112
7.5 comparison between nginx and Apache rewrite rule instances 115
Chapter 2 nginx Module Development 8th
8.1 nginx module overview 119
8.2 nginx module compilation practices 121
Chapter 2 nginx Web Cache service and xinlang open source ncache module 9th
9.1 what is Web cache? 129
9.2 nginx Web Cache service 130
9.3 xinlang Open-Source Software Project-nginx-based ncache web page cache system 137
Part 1 practice part 2
Chapter 2 Application Cases of nginx on well-known websites in China 10th
10.1 nginx reverse proxy and Server Load balancer website application case 146
10.2 nginx + PhP website application cases 156
Chapter 2 Typical nginx Application Instances 11th
11.1 build a secure nginx web server with HTTPS (SSL) 176
11.2 build a FLV video server using nginx 181
11.3 nginx + PHP + MySQL 185 Optimization on small memory VPs servers
11.4 use nginx to build a forward Proxy Server 189
Part 1 modules Part 2
Chapter 2 core modules of nginx 12th
12.1 main module command 193
12.2 main module variable 202
12.3 event module command 202
Chapter 2 nginx standard HTTP module 13th
13.1 core HTTP module 205
13.2 HTTP upstream module 228
13.3 HTTP access module 228
13.4 HTTP auth Basic module 229
13.5 HTTP Autoindex module 231
13.6 HTTP browser module 232
13.7 HTTP charset module 236
13.8 HTTP empty GIF module 238
13.9 HTTP fcgi module 238
13.10 GEO module 244
13.11 gzip module 247
13.12 HTTP headers module 250
13.13 HTTP index module 251
13.14 HTTP Referer module 252
13.15 HTTP limit zone module 253
13.16 HTTP limit req module 254
13.17 HTTP Log Module 256
13.18 HTTP map module 258
13.19 HTTP memcached module 259
13.20 HTTP Proxy module 263
Chapter 2 other HTTP modules of nginx 14th
14.1 HTTP addition module 283
14.2 embedded Perl module 285
14.3 FLV stream module 290
14.3 FLV command 290
14.4 HTTP gzip static module 291
14.5 HTTP random index module 292
14.6 http geo ip Module 292
14.7 HTTP realip module 294
14.8 http ssl module 295
14.9 HTTP stub Status Module 302
14.10 HTTP sub module 303
14.11 HTTP Dav module 304
14.12 Google perftools module 306
14.13 http xslt module 306
14.14 HTTP secure link module 308
13.14.1 secure_link_secret command 308
14.15 HTTP image filter module 310
Chapter 2 nginx mail module 15th
15.1 nginx mail core module 315
15.2 nginx email Authentication Module 319
15.3 nginx mail proxy module 320
15.4 nginx mail SSL module 322
15.5 nginx mail module configuration instance 324

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.