"Curiosity is the very basis of education and if you tell me that curiosity killed the cat, I say only the cat died nobly." - Arnold Edinborough

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


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

  • Thanh Tung

    Posted: May 30, 2013

    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

    • Martin Fjordvald

      Posted: May 30, 2013

      Thank you very much, I'm really happy that you enjoy my articles! Reply

  • Clement

    Posted: May 30, 2013

    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

    • Martin Fjordvald

      Posted: May 30, 2013

      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

  • Clay

    Posted: July 5, 2013

    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

    • Martin Fjordvald

      Posted: July 5, 2013

      Thank you for the kind words, haven't gotten much feedback on the book yet so it's nice to know some people are finding it useful! Reply

  • Peter

    Posted: November 4, 2014

    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

    • Martin Fjordvald

      Posted: November 17, 2014

      Sorry to hear you feel like that. Could you give specific examples that might help me improve in the future? Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.