Teaches you to start up Nginx and quickly take your expertise to a level where you can comfortably work with various aspects of the web server and make informed design decisions for your web farm. Nginx powers more than 40% of the top 1000 websites and is among the handful of web servers that can handle more than 10K simultaneous connections. It has some features which are simply unparalleled. Nginx: From Beginner to Pro teaches the Nginx server in a practical way. Frequently, it is found that web administrators struggle to fix the skill set gaps that happen due to a platform change. Migration from IIS & Apache becomes tedious at best. The book is targeted toward real-world administrators who would want to get up to speed as soon as possible and make good, informed design decisions. First you will set up Nginx and understand the architectural nuances. Then you will learn how to scale out, secure, monitor and troubleshoot the web server. Once you are fully comfortable with Nginx, you will start learning about migrating applications (or its part) from IIS or Apache web servers. Finally, you will learn to troubleshoot and maintain your Nginx professionally. Written by an author who has gone through the rough phase while moving from IIS/Apache to Nginx, this book is practical and filled with step-by-step instructions to make your time with Nginx as straightforward as possible. What You Will Learn Install and set up Nginx on CentOS, Ubuntu & Mac.
Understand Nginx modules and compiling Nginx with appropriate modules.
Learn about basic configuration and architecture along with hosting nuances.
Load balance Nginx and use it as a highly available web platform.
Monitor traffic and automate common administrative tasks.
Use scripts to perform routine checks for health issues.
Implement security and authentication in Nginx.
Learn how and what to migrate from IIS & Apache web servers.
Who This Book Is For Provides a crisp background of Nginx and then gears towards technical and practical topics. You need to know HTTP protocol, and have basic knowledge of Linux and networking concepts. The target audience is web administrators who would like to learn the finer nuances of Nginx, or map their existing skillset from IIS or Apache.
I had no experience with Nginx before and little experience in creating servers in general, the book helped me a lot and I feel safe for creating my own projects in Nginx. I also learned about CentOS, opening ports, Virtual Box, SSL.
In few occasions I had to think to solve some problems that did not occur in the book.
Seriously, I had to read this with a lot of self control, because there was so much bullshit. I mean, you don't need to know Nginx to understand that the PID file is used to know if the process is running (in the most simple case) but the book tries to sell it as a way to check process uptime. I mean, seriously? Of all the things, Nginx will create a PID file simply for you to check its uptime?
This kind of thing keeps going on and on. It feels like the author didn't know Nginx at all and was figuring out as the book was being written; when they had no idea what one thing meant, bullshit was used to fill the blanks.
This means two things: One, there is so much bullshit it is painful. Second, the book only gets reasonably good at the end. But still hardly anything near the "Pro" as used in the title.
The book covers the basics of nginx, just skimming over parts of the architecture/design decisions. Gives you a good intro on nginx but nothing much. It mentions the plus version (with support) and some basic situations you can have but it leaves a lot to be desired or to the reader's curiosity - as in you need to read more books about nginx or online documentation.
I didn't get why we (the readers) had to be told the place where the chapter was (first?) written or why in a "Pro" book on nginx we were told how to compile it... I guess some things we'll never know