By Dimitri Aivaliotis
NGINX is a high-performance HTTP server and mail proxy designed to exploit only a few method assets. With the numerous tutorials and instance configurations floating round the net, it's tough to understand the best way to accurately configure NGINX to satisfy your expectancies. gaining knowledge of Nginx - will serve to elucidate the murky waters of NGINX configuration, supporting you how you can song NGINX for numerous occasions, what many of the extra imprecise configuration directives do, and the way to layout an honest configuration to compare your wishes.
Read Online or Download Mastering Nginx PDF
Similar network administration books
If the belief of beginning an electronic mail campaign overwhelms you, the authors of electronic mail advertising and marketing: An Hour an afternoon will introduce you to e mail advertising and marketing fundamentals, exhibit easy methods to deal with information and describe how one can music and degree results. Case experiences, step by step publications, checklists, quizzes and hands-on tutorials may also help you execute an e mail campaign in precisely one hour an afternoon.
While you're an administrator with a fantastic operating wisdom of Hyper-V Server, home windows Server, and energetic listing, yet you are looking for additional info on hardening your Hyper-V deployment, this publication is for you. If you have already acquired a sensible Hyper-V setting, you have got no hassle examining this e-book and following its examples.
E mail is a well-liked type of conversation. humans use it to talk with buddies and behavior company. The actions during this ebook will train readers what it takes to write down email for any state of affairs.
Extra info for Mastering Nginx
Proxy_buffer This directive allows setting the size of the buffer used for the proxy connection beyond the default of one page. proxy_pass_error_message Useful in situations where the backend authentication process emits a useful error message to the client. proxy_timeout If a timeout beyond the default of 24 hours is required, this directive can be used. xclient The SMTP protocol allows checking based on IP/HELO/LOGIN parameters, which are passed via the XCLIENT command. This directive enables NGINX to communicate this information.
If the location is specified with a regular expression, alias should reference captures defined in that regular expression. alias replaces the part of the URI matched by the location, such that the rest of the URI not matched will be searched for in that filesystem location. Using the alias directive is fragile when moving bits of the configuration around, so using the root directive is preferred, unless the URI needs to be modified in order to find the file. Additionally, a number of directives found in the http section may also be specified in a location.
Specifies how long a keep-alive connection will stay open. A second parameter may be given, to set a "Keep-Alive" header in the response. File I/O directives These directives control how NGINX delivers static files and/or how it manages file descriptors. Table: HTTP file I/O directives Directive aio Explanation directio Enables the operating system specific flag or function for serving files larger than the given parameter. It's required when using aio on Linux. directio_alignment Sets the alignment for directio.