Installing NGINX and Third-Party Modules
[ 18 ]
Option Explanation
--without-http_limit_req_
module
With this module, NGINX can limit the
request rate per key.
--without-http_empty_gif_
module
The empty GIF module produces a 1 x
1-pixel in-memory transparent GIF.
--without-http_browser_module The browser module allows for
configurations based on the User-
Agent HTTP request header. Variables
are set based on the version found in this
header.
--without-http_upstream_ip_
hash_module
This module defines a set of servers that
may be used in conjunction with the
various proxy modules.
Finding and installing third-party modules
As with many open source projects, there is an active developer community
surrounding NGINX. Thanks to NGINX's modular nature, this community
is able to develop and publish modules to provide additional functionality.
They cover a wide range of applications, so it pays to take a look at what is
available before embarking on developing your own module.
The procedure for installing a third-party module is fairly straightforward:
- Locate the module you would like to use (either search on
https://github.com or see http://wiki.nginx.org/3rdPartyModules)..) - Download the module.
- Unpack the source.
- Read the README file, if included. See if there are any dependencies
that you will need to install. - Configure NGINX to use the module as follows. /configure –add-
module=.
This procedure will give you an nginx binary with the additional functionality
of that module.