summaryrefslogtreecommitdiff
path: root/network/nginx/README
blob: 74a77e254d638e654016fd9b8263ab34ba8fa191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
nginx [engine x] is a high-performance HTTP server and reverse proxy
as well as an IMAP/POP3 proxy server.

By default, nginx will use the "nobody" user and group accounts. You may
specify alternate values on the command line if desired; for example:

    NGINXUSER=backup NGINXGROUP=backup ./nginx.SlackBuild

Regardless of which user and group you decide to use, you will need to make
sure they exist on both the build system and the target system.

Geoip support is now available as an option using the GeopIP package. If you wish
to enable GeoIP the pass GEOIP variable to the slackbuild:

    GEOIP=yes ./nginx.SlackBuild

Support for gperftools is available as an option using the gperftools package.
If you wish to enable gperftools pass the GPERF variable to the slackbuild:

    GPERF=yes ./nginx.SlackBuild

Extra modules not included with stock nginx can be added by passing them as a
variable to the slackbuild as a space separated list of full paths to modules.
List of extra 3rd party modules available at http://wiki.nginx.org/3rdPartyModules.

    ADDMODULE="/tmp/passenger-release-5.0.13/ext/nginx" ./nginx.SlackBuild

Using the optional dynamic loadable module support in nginx >= 1.10.0. Understand
that dynamic modules are a new feature in nginx and issues may arise until further
testing is done.

    DYNAMIC=yes ./nginx.SlackBuild

Optional dependency: libwebp (requires gd to be recompiled)