Mastering Nginx
Reverse Proxy Advanced Topics [ 104 ] That isn't too many concurrent connections at all. Let's adjust the number of buffers down ...
Chapter 5 [ 105 ] NGINX is also capable of caching the response from the upstream server, so that the same request asked again d ...
Reverse Proxy Advanced Topics [ 106 ] Directive Explanation proxy_cache_path A directory in which to place the cached responses ...
Chapter 5 [ 107 ] The following configuration is designed to cache all responses for six hours, up to a total cache size of 1 GB ...
Reverse Proxy Advanced Topics [ 108 ] Using this configuration, NGINX will set up a series of directories under /var/spool/ ngin ...
Chapter 5 [ 109 ] Care should be taken when doing this, though, to prevent multiple response bodies from being cached for the sa ...
Reverse Proxy Advanced Topics [ 110 ] The following configuration summarizes the directives used to store these files: http { pr ...
Chapter 5 [ 111 ] Compressing Compressing can be described with the following figure: Optimizing for bandwidth can help reduce a ...
Reverse Proxy Advanced Topics [ 112 ] The following table lists the directives available with the gzip module: Table: Gzip modul ...
Chapter 5 [ 113 ] Directive Explanation • no_last_modified: Enables compression if the response doesn't have a Last-Modified ...
Reverse Proxy Advanced Topics [ 114 ] Besides on-the-fly compression of responses, NGINX is capable of delivering precompressed ...
The NGINX HTTP Server An HTTP server is primarily a piece of software that will deliver web pages to clients when requested. The ...
The NGINX HTTP Server [ 116 ] The NGINX master process is responsible for reading the configuration, handling sockets, spawning ...
Chapter 6 [ 117 ] The HTTP core module The http module is NGINX's central module, which handles all interactions with clients ov ...
The NGINX HTTP Server [ 118 ] In this example, the http://www.example.com server will have the server_namein redirect directive ...
Chapter 6 [ 119 ] Logging NGINX has a very flexible logging model. Each level of configuration may have an access log. In additi ...
The NGINX HTTP Server [ 120 ] The following table describes the directives used in the preceding code: Table: HTTP logging direc ...
Chapter 6 [ 121 ] min_uses: The file descriptor has to be used this amount of times within the inactive period in order to rema ...
The NGINX HTTP Server [ 122 ] Variable Name Value $request_length * The length of the request, including the HTTP method, URI, H ...
Chapter 6 [ 123 ] location /downloads { autoindex on; } } In the preceding example any files to be served are found under the ro ...
«
2
3
4
5
6
7
8
9
10
11
»
Free download pdf