During the last few months, I have been working on an nginx book for Packt Publishing. The book is called Instant Nginx Starter and is now published!
My goal with this book was to provide a concise introduction to the nginx configuration in a way that allowed people to build on top of the knowledge I provided. This meshed well with the Instant line of books from Packt as they are intended to be short and get the reader started quickly.
The knowledge contained in this book is basically a structured, revised and expanded upon version of the information on this blog. It provides a red-thread to help you process the configuration format and syntax in a logical way. I’m really satisfied with how this book turned out and I hope it will help some of you.
Table of Contents
Quick start – Creating your first virtual host
– Directives and contexts
– Define your first virtual hosts
Quick start – Interacting with backends
– A quick backend communication example
– Location blocks
– Directive types
– Location reevaluation
– Dealing with backends
– What can you do if you get stuck?
Top 9 features you need to know about
– Using nginx as a full-page micro cache
– Using nginx behind other proxies
– Setting up secure downloads
– Doing GeoIP lookups
– Limiting user requests
– Using nginx for streaming videos
– Using WebSockets with nginx