Nginx Module Extension et plus d'un million d'autres livres sont disponibles pour le Kindle d'Amazon. En savoir plus

Identifiez-vous pour activer la commande 1-Click.
Plus de choix
Vous l'avez déjà ? Vendez votre exemplaire ici
Désolé, cet article n'est pas disponible en
Image non disponible pour la
couleur :
Image non disponible

Commencez à lire Nginx Module Extension sur votre Kindle en moins d'une minute.

Vous n'avez pas encore de Kindle ? Achetez-le ici ou téléchargez une application de lecture gratuite.

Nginx Module Extension [Anglais] [Broché]

Usama Dar

Prix : EUR 27,81 Livraison à EUR 0,01 En savoir plus.
  Tous les prix incluent la TVA
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
En stock.
Expédié et vendu par Amazon. Emballage cadeau disponible.
Voulez-vous le faire livrer le mardi 23 septembre ? Choisissez la livraison en 1 jour ouvré sur votre bon de commande. En savoir plus.


Prix Amazon Neuf à partir de Occasion à partir de
Format Kindle EUR 11,53  
Broché EUR 27,81  

Offres spéciales et liens associés

Descriptions du produit

Présentation de l'éditeur

Customize and regulate the robust Nginx web server, and write your own Nginx modules efficiently


  • Install Nginx from its source on multiple platforms
  • Become acquainted with core Nginx modules and their configuration options
  • Explore optional and third party module extensions along with configuration directives

In Detail

Companies can solve significant scaling issues thanks to switching their web platforms to Nginx. A popular web server for building web infrastructure, Nginx transparently and effectively enables the growth of the largest sites on the Internet today, on top of being free and open source.

This book is a practical reference providing you with everything you need to know about Nginx module extensions. You will learn how to write powerful and flexible configuration files and your own modules, as well as gaining knowledge about Nginx's modular architecture, available modules, and their intricate details.

Nginx Module Extension starts by teaching you to compile the Nginx source on multiple platforms. Then you will learn the synopsis, directives, and practical examples of the core, optional, and third party Nginx modules before familiarizing yourself with Nginx internals, enabling you to write custom modules.

You will learn about the flexibility of the Nginx configuration and how to enable and disable various options while building from the source. You will learn to customize the Main and Events module to fine-tune the web server performance, and you will also learn about standard and optional HTTP modules like GeoIP, Gzip, Access Control, and using SSL, along with an exploration of PostgreSQL, MySQL, and Memcached modules. Finally you will learn internals like module chaining and will see sample code and a line-by-line walkthrough demonstrating how to write your own module.

What you will learn from this book

  • Install Nginx from its source on various platforms with instructions on various platform specific options
  • Configure error logging, processes, and permissions
  • Learn how Nginx handles events and how to configure epoll, kqueue, select, and poll
  • Utilize standard and optional HTTP modules, and combine many of these modules to achieve various system admin tasks
  • Acquaint yourself with available third party Nginx modules
  • Employ LUA as a programming language to write Nginx configuration files
  • Familiarize yourself with modules like PostgreSQL and Memcached and learn how to optimally configure them
  • Understand the internals on Nginx and write your own modules
  • Gain knowledge about core Nginx concepts like module chaining and also different types of modules like handlers, filters, and load balancers


This book is a step-by-step, example-oriented tutorial that will teach you to implement Nginx modules, as well as how to extend Nginx with core and third party modules.

Who this book is written for

Nginx Module Extension is intended for advanced users, system administrators, and developers of Nginx modules. You need to have prior experience with using Nginx as a web server and basic Nginx configuration changes. You also need basic understanding of GNU tools like configure and make, in order to be able to compile the source code. Proficiency in C programming and advanced operating system knowledge on Linux kernel, for example, would also come in handy.

Biographie de l'auteur

Usama Dar

Usama Dar has over 13 years' experience working with software systems. During this period, he has not only worked with large companies such as Nortel Networks, Ericsson, and Huawei, but has also been involved with successful startups such as EnterpriseDB. He has worked with systems with mission-critical requirements of scalability and high availability. He writes actively on this website: These days, Usama works at the Huawei Research Centre in Munich, where he spends most of his time researching highly scalable, high-performing infrastructure software (such as operating systems), databases, and web and application servers.

Détails sur le produit

En savoir plus sur l'auteur

Découvrez des livres, informez-vous sur les écrivains, lisez des blogs d'auteurs et bien plus encore.

Commentaires en ligne 

Il n'y a pas encore de commentaires clients sur
5 étoiles
4 étoiles
3 étoiles
2 étoiles
1 étoiles
Commentaires client les plus utiles sur (beta) 3.0 étoiles sur 5  11 commentaires
6 internautes sur 8 ont trouvé ce commentaire utile 
1.0 étoiles sur 5 Worse than useless, this book is embarrassing. 8 janvier 2014
Par Bill Anderson - Publié sur
Like another reviewer here, I have started writing Nginx modules and upon seeing this title was eager to see it described in a simple and useful format. I was worse than disappointed.

In my opinion a review should start with any statement about what the book is for and who it is aimed at. So, let us examine what the intention of the book is in it's own words:

"This book is for advanced users such as system administrators and developers who want to extend Nginx's functionality using its (sic) highly flexible add-on system."

It further states it "goes beyond what is available off the shelf". With this in mind, how does the book rate? On a scale of 1 to anything with the traditional higher is better approach, I'd say a -1.

If the book is aimed at advanced people, there is no value in wasting the advanced user's time by telling them basics such as how to install and perform basic configuration of the software. This book has five chapters, three of which are devoted to basics. It should go without saying these basics are readily available at the Nginx documentation site and consist of standard sequences common to most server software in the UNIX and Linux world.

Indeed, right form beginning of chapter one it states "Therefore we will not spend much time discussing the basics". I'd say 60% of the book is "much time".

Now, let us move on to chapter 4: installing third-party modules. This section consists of two paragraphs and a command line to input. And the command line is wrong. It does absolutely nothing to explain why you run the command line and why this method is different from most plugins in other software. What follows is little more than minimum verbiage around several module's included documentation - even when the information is obvious to even a mid-level user by parameter naming convention. Any advanced user already knows the contents of this chapter from knowing to read the included documentation of the module, and learned nothing from the chapter. Indeed, even a quick read the basic information on modules included in the documentation for Nginx provides more useful and detailed information than this chapter. Contrary to claims made otherwise, there is nothing in these first several chapters that isn't explained in the server's documentation.

Now, on to what should be the meat of the book: how to write your own module. Admittedly this was the reason for reading the book. It was here I became more than merely disappointed. Here is where it gets truly bad.

Using a basic search on Google will net you better information. The less than 20% of the book devoted to writing an nginx module is less than useful and is as another reviewer commented a blatant rip-off of existing work on the Internet not of the author's creation, nor is credit given. Of this 20% I estimate about half to be simply copy-paste of source code.

Not only is the source taken and slightly edited, but so is the explanatory text. from section headings to the order it is a clear copy for anyone who follows the links in the other negative review here. I find this worse than simply unacceptable, this is bordering on, if not outright plagiarism. If this is the type of book Packt is in the market for publishing, I am certainly not in the market for Packt books or anything by the author (or the reviewer who let this through for that matter).

Regarding the feel of the book, the flow is halting and key information is glossed over at best and entirely omitted far too often. The grammar is also substandard for a technical book. More specifically it doesn't read as if it were written to be read. Essentially it appears the author was given an outline and added the absolute bare minimum text he could get away with. For example, many of what should be textual transitions are essentially "I am now about to give you a list of things".

As a result in many places it reads at best as if it were simply an expanded outline with no thought to walking the 'advanced user" down a path which leads them from one level of difficulty and knowledge to the next. What should have been the meat of the book was little more than copied introductory work from online without acknowledgement.

And finally, it is dubious that within two days of the first review appearing, and it being a 1-star result with detailed criticisms, suddenly three more vaguely written reviews with virtually no details as to what the book is about suddenly appear. Frankly, it smacks of astro-turfing. While that does not affect my review, it does serve as a something to consider regarding the publisher and author. It makes me wonder if other books from this Publisher would show this pattern.
1 internautes sur 1 ont trouvé ce commentaire utile 
2.0 étoiles sur 5 Covers the basic stuff that is already available online 7 mars 2014
Par Aapo Talvensaari - Publié sur
I contacted the publisher because they were looking for reviewers on Twitter.

First of all, this book contains just around 100 pages. You cannot fit a lot in that space, especially when you are trying to cover a complex thing like Nginx Module Extension.

The first 14 pages are about Nginx installation. The next pages to page 82 are all about Nginx configuration directives. Both core, and some hand picked extension modules. I thought that I would gain some knowledge beyond what is already documented online. Well, I don't think this one nailed it as it's barely just reformatted copy-paste from online documentation that is already publicly available (no educated opinions about how you should configure things in real world, just descriptions of each directive). If you are a total nginx newbie, this book may be a good introduction to what Nginx (and extension modules provide). Just sit comfortably on a chair and read or browse thought this book. It should take you an hour or two, and you will gain some basic knowledge about Nginx.

The pages from 83 to 104 are about making your own Nginx module with C programming language. Again, this is just on a level of "Hello World". I'm not sure that whom this book is written for. You will get an overall feeling on what Nginx provides, but I'm not sure you are looking for a book with title like "Nginx Module Extension" when you are starting with the basics. The name of this book is also misleading in my opinion. Something like "Basic Nginx Configuration Directives, and Modules" would serve as a more descriptive title.

On the other hand, this book doesn't cost you a lot (you should buy an e-book version), and it doesn't take too much of your time to read. Read, and throw it away. Technically there aren't problems with the content of this book. I think that you will learn a lot more if you just play around with Nginx, and its modules (but that would take you more time too).
1 internautes sur 1 ont trouvé ce commentaire utile 
1.0 étoiles sur 5 Disappointing... 3 mars 2014
Par agentzh - Publié sur
I have to say I'm rather disappointed. I've got the impression that it is just a simple concatenation of the public manual pages for NGINX and its components over the web. And yes, the author did some edits, but the result is
not far from a simple concatenation. I was hoping to see the author's own thoughts, experiments, analyzing tools, and findings, but I fail to see any highlights. Just as dull and boring as many other NGINX books out there.
3.0 étoiles sur 5 Good starting point for module extension... BUT... 26 février 2014
Par Foogaro - Publié sur
Format:Format Kindle
Keep in mind the book is 100 pages of contents (which leads to 129 of everything).

I'm reviewing this book after reading 2 good book about Nginx, which are "Mastering Nginx" and "Nginx HTTP Server - Second Edition".

Let's begin.
The book is divided into 5 chapters: first 3 are just about installing and configuring core and HTTP modules.
Those 3 chapters are a good recap, but I do think they are not necessary for the audience of this book.
If I'm getting this book is to deal with modules and how to extend them and how to write my own modules.

Chapter number 4 is about third-party libraries.
More precisely: PostgreSQL, MySQL (aka drizzle-server), Digest Authentication, Page Speed, Lua scripting, GeoIP, Healthcheck Module, Loadbalancing.
Every module is described with its directives
The Lua scripting module was quite interesting and surprising. I didn't test it, but I'll give a try ASAP.

Finally, in chapter 5, last one, you will learn how to write a Nginx Module Extension. Bear in mind, you may don't know but C background is needed to fully understand and test the examples.

Having that said, the book overall wasn't that bad, but as the title is very specific, I would have preferred a book just about how to write modules. The number of pages do not matter if contents are clear, focused and you get what you expect.

2 internautes sur 4 ont trouvé ce commentaire utile 
5.0 étoiles sur 5 Proved helpful to me 8 janvier 2014
Par Wolfi XX - Publié sur
Format:Format Kindle|Achat vérifié
This book proved so much helpful to me as it contains much needed information about the configuration of nginx modules. This book covers various concepts but it mainly focuses on 3rd party modules.It proved a good guide to me.
Ces commentaires ont-ils été utiles ?   Dites-le-nous

Discussions entre clients

Le forum concernant ce produit
Discussion Réponses Message le plus récent
Pas de discussions pour l'instant

Posez des questions, partagez votre opinion, gagnez en compréhension
Démarrer une nouvelle discussion
Première publication:
Aller s'identifier

Rechercher parmi les discussions des clients
Rechercher dans toutes les discussions Amazon

Rechercher des articles similaires par rubrique


Souhaitez-vous compléter ou améliorer les informations sur ce produit ? Ou faire modifier les images?