Be the first to immerse yourself in the NGINX 1.9x web server and explore the plethora of advanced features.
Master the skills of load balancing TCP-based applications and implementing HTTP/2.
A recipe-based approach book that provides you with up-to-date information on NGINX, allowing you to implement specific use cases immediately.
Description
NGINX Cookbook covers the basics of configuring NGINX as a web server for use with common web frameworks such as WordPress and Ruby on Rails, through to utilization as a reverse proxy. Designed as a go-to reference guide, this book will give you practical answers based on real-world deployments to get you up and running quickly.
Recipes have also been provided for multiple SSL configurations, different logging scenarios, practical rewrites, and multiple load balancing scenarios. Advanced topics include covering bandwidth management, Docker container usage, performance tuning, OpenResty, and the NGINX Plus commercial features.
By the time you've read this book, you will be able to adapt and use a wide variety of NGINX implementations to solve any problems you have.
Who is this book for?
This book is aimed at smaller-to-medium developers, who are just getting started with NGINX. It assumes they already understand the basics of how a web server works and how basic networking works.
What you will learn
• Practical, real-world examples and recipes on how to use NGINX
• Common CMS deployments such as WordPress, Joomla and more
• NGINX configurations for frameworks such as Ruby on Rails, Django and more
• Detailed SSL recipes, including HTTP/2
• Real world rewrite examples
• Basic web and TCP load balancing configuration
• Bandwidth management and connection limiting
• Detailed NGINX deployment scenarios with Docker
• Performance tuning and monitoring of your NGINX deployments
This is kind of a turd. The nginx parts are nice but it leaves you hanging on the examples. It shows you how to configure nginx for wordpress but doesn't even show the basics of actually getting wordpress up and running on nginx. This causes the reader to have to look elsewhere for that information and thus divide their attention. A basic here's how to configure php and msql would have taken a couple of pages at the most. I'd return it to Amazon if I still had time.
Amazon Verified review
Tom LJan 19, 2018
2
I maintain about a dozen small websites that were migrated last year from on-site to cloud based services. As a part of the migration I converted all of the configurations from Apache to Nginx. This book was on my Wishlist and I received it as a gift. I read the one review and had hoped that this book would have covered the various Nginx features in depth. I may have missed some feature in my Apache to Nginx conversion that would prove useful. I did not receive any benefit from reading this book. It was just a 'cookbook' of Nginx configurations for various content based server software packages with 'Linux centric' commands for installation and startup. All of my sites are *BSD (FreeBSD, OpenBSD and NetBSD) based and the 'apt-get' type of commands for package retrieval and configuration are very foreign to me. I won't give this book the lowest score. I'll put it on my bookshelf and may have a use for it someday.
Amazon Verified review
TexanOct 04, 2017
4
This is a very useful book for someone that needs to get a jump start into NGINX. A lot of the material can be found on the NGINX site and on the web but this book does a good job of putting a lot of the more interesting stuff in one place. I particularly like the organization of almost every "recipe" into four sections: Getting ready, How to do it..., How it works, and There's more. It allows you to very quickly focus in on what you need without having to read the entire book. It is very much organized like a food cookbook. It's a bit pricey and I think if he knocked ten bucks off the price he'd get a lot more sales. I'd probably have given this five stars as it definitely saved me the price of the book in the first day of use in terms of the time I'd otherwise spend in digging out the info on the web. However, I bought the Kindle version and sometimes the rendering is a bit problematic with e-books. This was the case here. In my Kindle for Mac reader the "tip" bubbles overlaid the tip making it a bit harder to read and some of the fonts were a bit odd looking compared to what you typically find in print books. But the material seems solid. As a PAKT book you can get all of the configuration/source files from their site and that is helpful. I noted that the took text actually seems to be more up to date than those files as there was a small difference in one of the recipes but the book text agreed with what I found on the NGINX official site for proxy setup. It was minor but I noticed it so I mention it here. I'm happy with the purchase because it saved me a lot of time getting started with NGINX (I'm on an accelerated project) and it covers the waterfront of NGINX pretty well, including some nice comments about the "why" of it all that you don't always find in reference works.
Tim Butler is currently working in the web hosting industry and has nearly 20 years of experience. He currently maintains hyper-converged storage/compute platforms and is an architect of high throughput web logging and monitoring solutions. You can follow him on Twitter using his Twitter handle, @timbutler, where he (infrequently) posts about hosting, virtualization, NGINX, containers, and a few other hobbies.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.