My New Nginx Book: Instant Nginx Starter

folder_openNginx
comment10 Comments

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.

Check it out on Packt Publishing

Table of Contents

Introduction
Installation

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
– Gzipping
– Pre-gzipping
– 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

Related Posts

10 Comments. Leave new

  • Thanh Tung
    May 30, 2013 11:55

    Hi, I read your blog some years ago to learn basic fo nginx. Your articles are very useful. Later, I sometime revisited your blog to find new articles. Today I read Packt Publishing newsletter and see your book. Congratulation 🙂

    Reply
  • Congrats on the book Martin! I haven’t got a chance to read it yet but I’m sure you did great. You’re one of the most skilled experts I know when it comes to Nginx. Clem

    Reply
    • Good to hear from you Clement, appreciate the kind words! I’m actually in China from now on so if you ever happen to come down to Shenzhen then shoot me and email and we’ll meet up.

      Reply
  • […] you liked the style of this blog post then check out my nginx book – Instant Nginx Starter. It introduces you to the syntax and flow of nginx and minimizes your time spent debugging […]

    Reply
  • It was only after I referenced every one of your nginx posts that I was able to get my stack up and running. I bought your book to say thanks, and lo, I’m actually starting to understand why it’s running. Thank you for helping those of us just starting out.

    Reply
  • Your style of writing is confusing for a beginner in Nginx coming from a Apache background. You presume so much from a new comer. It was a real headache reading the article…try to reform your writing style to siut beginners…

    There are literally no good books on Nginx in the market….

    Reply
  • Huzaifa Sserugo
    November 22, 2023 12:31

    I am a total beginner, I don’t know Apache or anything else. I like your style but it’s really not suited for beginners like me. I read everything despite not being quite on the same page. Will hopefully catch up sometime soon. I am trying to host a django project on Digital Ocean

    Thank you for the effort

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.