Mastering Nginx
Troubleshooting Techniques [ 204 ] Using if instead of try_files One such case is a situation in which a user wants to deliver a ...
Chapter 8 [ 205 ] include fastcgi_params; fastcgi_pass 127.0.0.1:9000; } } The try_files directive is used to determine if the f ...
Troubleshooting Techniques [ 206 ] server { server_name http://www.example.com; root /var/www/html; location / { } } Not using t ...
Chapter 8 [ 207 ] This can lead to configuration errors when new locations are added, and the directives are not copied to those ...
Troubleshooting Techniques [ 208 ] File descriptor limits NGINX uses file descriptors in several different ways. The major use i ...
Chapter 8 [ 209 ] The preceding two commands will increase the maximum number of file descriptors allowed for a new process runn ...
Troubleshooting Techniques [ 210 ] Network limits If you find yourself in a situation in which no network buffers are available, ...
Chapter 8 [ 211 ] Performance problems When designing an application and configuring NGINX to deliver it, we expect it to perfor ...
Troubleshooting Techniques [ 212 ] The next parameter to change is the size of the send and receive buffers. Note that these val ...
Chapter 8 [ 213 ] Making network tuning changes in Solaris persistent In the previous two sections, we changed several TCP-level ...
Troubleshooting Techniques [ 214 ] Calling this URI from the localhost (for example, with curl http://localhost/ nginx_status) w ...
Directive Reference This appendix lists the configuration directives used throughout the book. There are also some directives th ...
Directive Reference [ 216 ] Directive Explanation Context/Default access_log Describes where and how access logs are to be writt ...
Appendix A [ 217 ] Directive Explanation Context/Default alias Defines another name for the location, as found on the filesystem ...
Directive Reference [ 218 ] Directive Explanation Context/Default auth_http_timeout The maximum amount of time NGINX will wait w ...
Appendix A [ 219 ] Directive Explanation Context/Default charset_types Lists the MIME types of a response in addition to text/ht ...
Directive Reference [ 220 ] Directive Explanation Context/Default client_body_timeout Specifies the length of time between succe ...
Appendix A [ 221 ] Directive Explanation Context/Default debug_connection Enables debug logging for any client matching the valu ...
Directive Reference [ 222 ] Directive Explanation Context/Default env Sets environment variables for use in: inheritance during ...
Appendix A [ 223 ] Directive Explanation Context/Default etag Disables automatically generating the ETag response header for sta ...
«
7
8
9
10
11
12
13
14
15
16
»
Free download pdf