2003-11-26 04:44:56 +08:00
|
|
|
|
2004-09-30 00:00:49 +08:00
|
|
|
# Copyright (C) Igor Sysoev
|
2012-01-18 23:07:43 +08:00
|
|
|
# Copyright (C) Nginx, Inc.
|
2004-09-30 00:00:49 +08:00
|
|
|
|
2004-10-21 23:34:38 +08:00
|
|
|
|
2003-12-15 04:10:27 +08:00
|
|
|
help=no
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2004-11-26 00:17:31 +08:00
|
|
|
NGX_PREFIX=
|
|
|
|
NGX_SBIN_PATH=
|
2016-02-05 01:25:29 +08:00
|
|
|
NGX_MODULES_PATH=
|
2007-07-30 02:05:45 +08:00
|
|
|
NGX_CONF_PREFIX=
|
2004-11-26 00:17:31 +08:00
|
|
|
NGX_CONF_PATH=
|
|
|
|
NGX_ERROR_LOG_PATH=
|
|
|
|
NGX_PID_PATH=
|
2006-02-08 23:33:12 +08:00
|
|
|
NGX_LOCK_PATH=
|
2004-10-21 23:34:38 +08:00
|
|
|
NGX_USER=
|
|
|
|
NGX_GROUP=
|
2014-05-20 20:10:07 +08:00
|
|
|
NGX_BUILD=
|
2004-05-19 04:28:54 +08:00
|
|
|
|
2013-02-18 19:35:28 +08:00
|
|
|
CC=${CC:-cc}
|
2004-03-12 05:34:52 +08:00
|
|
|
CPP=
|
2004-10-21 23:34:38 +08:00
|
|
|
NGX_OBJS=objs
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2004-11-26 00:17:31 +08:00
|
|
|
NGX_DEBUG=NO
|
2004-10-21 23:34:38 +08:00
|
|
|
NGX_CC_OPT=
|
|
|
|
NGX_LD_OPT=
|
2004-03-11 04:56:39 +08:00
|
|
|
CPU=NO
|
2007-09-19 20:14:05 +08:00
|
|
|
|
|
|
|
NGX_RPATH=NO
|
2004-03-11 01:55:19 +08:00
|
|
|
|
2004-11-26 00:17:31 +08:00
|
|
|
NGX_TEST_BUILD_DEVPOLL=NO
|
2006-09-26 20:20:12 +08:00
|
|
|
NGX_TEST_BUILD_EVENTPORT=NO
|
2004-11-26 00:17:31 +08:00
|
|
|
NGX_TEST_BUILD_EPOLL=NO
|
2004-12-03 02:40:46 +08:00
|
|
|
NGX_TEST_BUILD_SOLARIS_SENDFILEV=NO
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2004-11-26 00:17:31 +08:00
|
|
|
NGX_PLATFORM=
|
2004-11-11 22:07:14 +08:00
|
|
|
NGX_WINE=
|
|
|
|
|
2004-02-03 05:19:52 +08:00
|
|
|
EVENT_FOUND=NO
|
|
|
|
|
|
|
|
EVENT_SELECT=NO
|
|
|
|
EVENT_POLL=NO
|
2004-01-23 17:26:18 +08:00
|
|
|
|
2004-02-24 04:57:12 +08:00
|
|
|
USE_THREADS=NO
|
|
|
|
|
2009-08-28 16:12:35 +08:00
|
|
|
NGX_FILE_AIO=NO
|
2009-02-21 15:02:02 +08:00
|
|
|
|
2004-09-06 03:54:02 +08:00
|
|
|
HTTP=YES
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
|
|
|
|
NGX_HTTP_LOG_PATH=
|
|
|
|
NGX_HTTP_CLIENT_TEMP_PATH=
|
|
|
|
NGX_HTTP_PROXY_TEMP_PATH=
|
|
|
|
NGX_HTTP_FASTCGI_TEMP_PATH=
|
2010-06-02 01:44:51 +08:00
|
|
|
NGX_HTTP_UWSGI_TEMP_PATH=
|
2010-06-18 23:51:14 +08:00
|
|
|
NGX_HTTP_SCGI_TEMP_PATH=
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
|
2009-03-23 21:14:51 +08:00
|
|
|
HTTP_CACHE=YES
|
2004-06-23 00:43:09 +08:00
|
|
|
HTTP_CHARSET=YES
|
2003-11-26 04:44:56 +08:00
|
|
|
HTTP_GZIP=YES
|
2004-07-08 23:17:47 +08:00
|
|
|
HTTP_SSL=NO
|
2015-09-12 01:13:06 +08:00
|
|
|
HTTP_V2=NO
|
2005-03-01 23:20:36 +08:00
|
|
|
HTTP_SSI=YES
|
nginx-0.1.29-RELEASE import
*) Feature: the ngx_http_ssi_module supports "include virtual" command.
*) Feature: the ngx_http_ssi_module supports the condition command like
'if expr="$NAME"' and "else" and "endif" commands. Only one nested
level is supported.
*) Feature: the ngx_http_ssi_module supports the DATE_LOCAL and
DATE_GMT variables and "config timefmt" command.
*) Feature: the "ssi_ignore_recycled_buffers" directive.
*) Bugfix: the "echo" command did not show the default value for the
empty QUERY_STRING variable.
*) Change: the ngx_http_proxy_module was rewritten.
*) Feature: the "proxy_redirect", "proxy_pass_request_headers",
"proxy_pass_request_body", and "proxy_method" directives.
*) Feature: the "proxy_set_header" directive. The "proxy_x_var" was
canceled and must be replaced with the proxy_set_header directive.
*) Change: the "proxy_preserve_host" is canceled and must be replaced
with the "proxy_set_header Host $host" and the "proxy_redirect off"
directives, the "proxy_set_header Host $host:$proxy_port" directive
and the appropriate proxy_redirect directives.
*) Change: the "proxy_set_x_real_ip" is canceled and must be replaced
with the "proxy_set_header X-Real-IP $remote_addr" directive.
*) Change: the "proxy_add_x_forwarded_for" is canceled and must be
replaced with
the "proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for"
directive.
*) Change: the "proxy_set_x_url" is canceled and must be replaced with
the "proxy_set_header X-URL http://$host:$server_port$request_uri"
directive.
*) Feature: the "fastcgi_param" directive.
*) Change: the "fastcgi_root", "fastcgi_set_var" and "fastcgi_params"
directive are canceled and must be replaced with the fastcgi_param
directives.
*) Feature: the "index" directive can use the variables.
*) Feature: the "index" directive can be used at http and server levels.
*) Change: the last index only in the "index" directive can be absolute.
*) Feature: the "rewrite" directive can use the variables.
*) Feature: the "internal" directive.
*) Feature: the CONTENT_LENGTH, CONTENT_TYPE, REMOTE_PORT, SERVER_ADDR,
SERVER_PORT, SERVER_PROTOCOL, DOCUMENT_ROOT, SERVER_NAME,
REQUEST_METHOD, REQUEST_URI, and REMOTE_USER variables.
*) Change: nginx now passes the invalid lines in a client request
headers or a backend response header.
*) Bugfix: if the backend did not transfer response for a long time and
the "send_timeout" was less than "proxy_read_timeout", then nginx
returned the 408 response.
*) Bugfix: the segmentation fault was occurred if the backend sent an
invalid line in response header; the bug had appeared in 0.1.26.
*) Bugfix: the segmentation fault may occurred in FastCGI fault
tolerance configuration.
*) Bugfix: the "expires" directive did not remove the previous
"Expires" and "Cache-Control" headers.
*) Bugfix: nginx did not take into account trailing dot in "Host"
header line.
*) Bugfix: the ngx_http_auth_module did not work under Linux.
*) Bugfix: the rewrite directive worked incorrectly, if the arguments
were in a request.
*) Bugfix: nginx could not be built on MacOS X.
2005-05-12 22:58:06 +08:00
|
|
|
HTTP_POSTPONE=NO
|
nginx-0.3.8-RELEASE import
*) Security: nginx now checks URI got from a backend in
"X-Accel-Redirect" header line or in SSI file for the "/../" paths
and zeroes.
*) Change: nginx now does not treat the empty user name in the
"Authorization" header line as valid one.
*) Feature: the "ssl_session_timeout" directives of the
ngx_http_ssl_module and ngx_imap_ssl_module.
*) Feature: the "auth_http_header" directive of the
ngx_imap_auth_http_module.
*) Feature: the "add_header" directive.
*) Feature: the ngx_http_realip_module.
*) Feature: the new variables to use in the "log_format" directive:
$bytes_sent, $apache_bytes_sent, $status, $time_gmt, $uri,
$request_time, $request_length, $upstream_status,
$upstream_response_time, $gzip_ratio, $uid_got, $uid_set,
$connection, $pipe, and $msec. The parameters in the "%name" form
will be canceled soon.
*) Change: now the false variable values in the "if" directive are the
empty string "" and string starting with "0".
*) Bugfix: while using proxied or FastCGI-server nginx may leave
connections and temporary files with client requests in open state.
*) Bugfix: the worker processes did not flush the buffered logs on
graceful exit.
*) Bugfix: if the request URI was changes by the "rewrite" directive
and the request was proxied in location given by regular expression,
then the incorrect request was transferred to backend; the bug had
appeared in 0.2.6.
*) Bugfix: the "expires" directive did not remove the previous
"Expires" header.
*) Bugfix: nginx may stop to accept requests if the "rtsig" method and
several worker processes were used.
*) Bugfix: the "\"" and "\'" escape symbols were incorrectly handled in
SSI commands.
*) Bugfix: if the response was ended just after the SSI command and
gzipping was used, then the response did not transferred complete or
did not transferred at all.
2005-11-10 01:25:55 +08:00
|
|
|
HTTP_REALIP=NO
|
2008-08-04 22:48:15 +08:00
|
|
|
HTTP_XSLT=NO
|
2009-05-02 02:42:09 +08:00
|
|
|
HTTP_IMAGE_FILTER=NO
|
2007-04-20 01:54:23 +08:00
|
|
|
HTTP_SUB=NO
|
2006-04-05 21:40:54 +08:00
|
|
|
HTTP_ADDITION=NO
|
2006-04-14 17:53:38 +08:00
|
|
|
HTTP_DAV=NO
|
2004-06-25 00:07:04 +08:00
|
|
|
HTTP_ACCESS=YES
|
2005-03-23 00:02:46 +08:00
|
|
|
HTTP_AUTH_BASIC=YES
|
2013-08-21 23:19:47 +08:00
|
|
|
HTTP_AUTH_REQUEST=NO
|
2017-07-20 13:50:49 +08:00
|
|
|
HTTP_MIRROR=YES
|
2004-08-27 23:40:59 +08:00
|
|
|
HTTP_USERID=YES
|
2015-12-07 21:30:48 +08:00
|
|
|
HTTP_SLICE=NO
|
2004-10-25 23:29:23 +08:00
|
|
|
HTTP_AUTOINDEX=YES
|
2008-09-05 23:45:55 +08:00
|
|
|
HTTP_RANDOM_INDEX=NO
|
2004-09-28 00:03:21 +08:00
|
|
|
HTTP_STATUS=NO
|
2005-02-04 03:33:37 +08:00
|
|
|
HTTP_GEO=YES
|
2009-07-20 15:10:43 +08:00
|
|
|
HTTP_GEOIP=NO
|
2005-12-16 23:07:08 +08:00
|
|
|
HTTP_MAP=YES
|
2010-05-14 17:02:10 +08:00
|
|
|
HTTP_SPLIT_CLIENTS=YES
|
2005-11-15 21:30:52 +08:00
|
|
|
HTTP_REFERER=YES
|
2004-06-24 15:53:37 +08:00
|
|
|
HTTP_REWRITE=YES
|
2003-11-26 04:44:56 +08:00
|
|
|
HTTP_PROXY=YES
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
HTTP_FASTCGI=YES
|
2010-06-01 23:53:11 +08:00
|
|
|
HTTP_UWSGI=YES
|
2010-06-18 23:51:14 +08:00
|
|
|
HTTP_SCGI=YES
|
2018-03-18 04:04:24 +08:00
|
|
|
HTTP_GRPC=YES
|
2006-01-16 22:56:53 +08:00
|
|
|
HTTP_PERL=NO
|
2005-11-26 18:11:11 +08:00
|
|
|
HTTP_MEMCACHED=YES
|
2011-11-14 22:04:42 +08:00
|
|
|
HTTP_LIMIT_CONN=YES
|
2008-11-10 23:22:33 +08:00
|
|
|
HTTP_LIMIT_REQ=YES
|
2005-11-15 21:30:52 +08:00
|
|
|
HTTP_EMPTY_GIF=YES
|
2006-09-18 20:25:07 +08:00
|
|
|
HTTP_BROWSER=YES
|
2008-09-27 21:22:10 +08:00
|
|
|
HTTP_SECURE_LINK=NO
|
2009-11-16 20:20:00 +08:00
|
|
|
HTTP_DEGRADATION=NO
|
2006-10-09 22:17:36 +08:00
|
|
|
HTTP_FLV=NO
|
2011-09-09 18:22:34 +08:00
|
|
|
HTTP_MP4=NO
|
2012-09-11 00:52:47 +08:00
|
|
|
HTTP_GUNZIP=NO
|
2007-12-27 22:21:59 +08:00
|
|
|
HTTP_GZIP_STATIC=NO
|
2014-06-02 20:16:22 +08:00
|
|
|
HTTP_UPSTREAM_HASH=YES
|
2006-12-05 00:46:13 +08:00
|
|
|
HTTP_UPSTREAM_IP_HASH=YES
|
2012-06-04 07:21:26 +08:00
|
|
|
HTTP_UPSTREAM_LEAST_CONN=YES
|
2018-06-15 16:46:14 +08:00
|
|
|
HTTP_UPSTREAM_RANDOM=YES
|
2011-09-16 03:28:18 +08:00
|
|
|
HTTP_UPSTREAM_KEEPALIVE=YES
|
2015-04-15 00:01:25 +08:00
|
|
|
HTTP_UPSTREAM_ZONE=YES
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2005-02-09 22:31:07 +08:00
|
|
|
# STUB
|
|
|
|
HTTP_STUB_STATUS=NO
|
|
|
|
|
2007-03-19 21:36:56 +08:00
|
|
|
MAIL=NO
|
|
|
|
MAIL_SSL=NO
|
2007-09-16 00:51:16 +08:00
|
|
|
MAIL_POP3=YES
|
|
|
|
MAIL_IMAP=YES
|
|
|
|
MAIL_SMTP=YES
|
2004-09-07 23:29:22 +08:00
|
|
|
|
2015-04-20 18:05:11 +08:00
|
|
|
STREAM=NO
|
|
|
|
STREAM_SSL=NO
|
2016-09-01 19:45:33 +08:00
|
|
|
STREAM_REALIP=NO
|
2015-06-18 19:17:30 +08:00
|
|
|
STREAM_LIMIT_CONN=YES
|
2015-06-04 18:04:12 +08:00
|
|
|
STREAM_ACCESS=YES
|
2016-06-30 21:12:50 +08:00
|
|
|
STREAM_GEO=YES
|
2016-07-12 22:34:43 +08:00
|
|
|
STREAM_GEOIP=NO
|
2016-06-29 17:46:12 +08:00
|
|
|
STREAM_MAP=YES
|
2016-07-12 22:34:52 +08:00
|
|
|
STREAM_SPLIT_CLIENTS=YES
|
2016-05-19 03:08:49 +08:00
|
|
|
STREAM_RETURN=YES
|
2015-04-20 18:05:11 +08:00
|
|
|
STREAM_UPSTREAM_HASH=YES
|
|
|
|
STREAM_UPSTREAM_LEAST_CONN=YES
|
2018-06-15 16:46:14 +08:00
|
|
|
STREAM_UPSTREAM_RANDOM=YES
|
2015-04-20 18:05:11 +08:00
|
|
|
STREAM_UPSTREAM_ZONE=YES
|
2016-09-15 19:56:51 +08:00
|
|
|
STREAM_SSL_PREREAD=NO
|
2015-04-20 18:05:11 +08:00
|
|
|
|
2016-02-05 01:25:29 +08:00
|
|
|
DYNAMIC_MODULES=
|
|
|
|
|
2005-02-16 21:40:36 +08:00
|
|
|
NGX_ADDONS=
|
2016-02-05 01:25:29 +08:00
|
|
|
NGX_ADDON_DEPS=
|
|
|
|
DYNAMIC_ADDONS=
|
2004-11-21 03:52:20 +08:00
|
|
|
|
2016-10-03 20:58:16 +08:00
|
|
|
NGX_COMPAT=NO
|
|
|
|
|
2004-02-10 04:47:18 +08:00
|
|
|
USE_PCRE=NO
|
2004-02-19 16:45:27 +08:00
|
|
|
PCRE=NONE
|
2004-03-12 05:34:52 +08:00
|
|
|
PCRE_OPT=
|
2011-12-26 21:10:36 +08:00
|
|
|
PCRE_CONF_OPT=
|
|
|
|
PCRE_JIT=NO
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2004-07-26 02:34:14 +08:00
|
|
|
USE_OPENSSL=NO
|
|
|
|
OPENSSL=NONE
|
|
|
|
|
2004-02-03 05:19:52 +08:00
|
|
|
USE_ZLIB=NO
|
2004-02-09 15:46:43 +08:00
|
|
|
ZLIB=NONE
|
2004-03-12 05:34:52 +08:00
|
|
|
ZLIB_OPT=
|
2004-03-11 04:56:39 +08:00
|
|
|
ZLIB_ASM=NO
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2006-01-16 22:56:53 +08:00
|
|
|
USE_PERL=NO
|
|
|
|
NGX_PERL=perl
|
|
|
|
|
2008-08-04 22:48:15 +08:00
|
|
|
USE_LIBXSLT=NO
|
2009-05-02 02:42:09 +08:00
|
|
|
USE_LIBGD=NO
|
2016-02-05 01:25:29 +08:00
|
|
|
USE_GEOIP=NO
|
2008-08-04 22:48:15 +08:00
|
|
|
|
2008-03-18 18:36:27 +08:00
|
|
|
NGX_GOOGLE_PERFTOOLS=NO
|
2008-08-06 03:32:50 +08:00
|
|
|
NGX_CPP_TEST=NO
|
2008-03-18 18:36:27 +08:00
|
|
|
|
2009-11-26 01:55:25 +08:00
|
|
|
NGX_LIBATOMIC=NO
|
|
|
|
|
2005-12-16 23:07:08 +08:00
|
|
|
NGX_CPU_CACHE_LINE=
|
|
|
|
|
2011-11-14 22:04:42 +08:00
|
|
|
NGX_POST_CONF_MSG=
|
|
|
|
|
2009-04-27 03:37:38 +08:00
|
|
|
opt=
|
2003-11-26 04:44:56 +08:00
|
|
|
|
|
|
|
for option
|
|
|
|
do
|
2009-05-19 00:50:32 +08:00
|
|
|
opt="$opt `echo $option | sed -e \"s/\(--[^=]*=\)\(.* .*\)/\1'\2'/\"`"
|
2009-04-27 03:37:38 +08:00
|
|
|
|
2003-11-26 04:44:56 +08:00
|
|
|
case "$option" in
|
|
|
|
-*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;;
|
|
|
|
*) value="" ;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
case "$option" in
|
2003-12-15 04:10:27 +08:00
|
|
|
--help) help=yes ;;
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2009-04-27 19:32:33 +08:00
|
|
|
--prefix=) NGX_PREFIX="!" ;;
|
2004-11-26 00:17:31 +08:00
|
|
|
--prefix=*) NGX_PREFIX="$value" ;;
|
|
|
|
--sbin-path=*) NGX_SBIN_PATH="$value" ;;
|
2016-02-05 01:25:29 +08:00
|
|
|
--modules-path=*) NGX_MODULES_PATH="$value" ;;
|
2004-11-26 00:17:31 +08:00
|
|
|
--conf-path=*) NGX_CONF_PATH="$value" ;;
|
|
|
|
--error-log-path=*) NGX_ERROR_LOG_PATH="$value";;
|
|
|
|
--pid-path=*) NGX_PID_PATH="$value" ;;
|
2006-02-08 23:33:12 +08:00
|
|
|
--lock-path=*) NGX_LOCK_PATH="$value" ;;
|
2004-10-21 23:34:38 +08:00
|
|
|
--user=*) NGX_USER="$value" ;;
|
|
|
|
--group=*) NGX_GROUP="$value" ;;
|
2004-05-19 04:28:54 +08:00
|
|
|
|
2004-11-26 00:17:31 +08:00
|
|
|
--crossbuild=*) NGX_PLATFORM="$value" ;;
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2014-05-20 20:10:07 +08:00
|
|
|
--build=*) NGX_BUILD="$value" ;;
|
2004-10-21 23:34:38 +08:00
|
|
|
--builddir=*) NGX_OBJS="$value" ;;
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2004-02-03 05:19:52 +08:00
|
|
|
--with-select_module) EVENT_SELECT=YES ;;
|
2004-02-10 04:47:18 +08:00
|
|
|
--without-select_module) EVENT_SELECT=NONE ;;
|
2004-02-03 05:19:52 +08:00
|
|
|
--with-poll_module) EVENT_POLL=YES ;;
|
2004-02-10 04:47:18 +08:00
|
|
|
--without-poll_module) EVENT_POLL=NONE ;;
|
2004-01-23 17:26:18 +08:00
|
|
|
|
2015-03-14 22:37:07 +08:00
|
|
|
--with-threads) USE_THREADS=YES ;;
|
|
|
|
|
2009-08-28 16:12:35 +08:00
|
|
|
--with-file-aio) NGX_FILE_AIO=YES ;;
|
2016-10-04 21:38:14 +08:00
|
|
|
|
|
|
|
--with-ipv6)
|
|
|
|
NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
|
|
|
|
$0: warning: the \"--with-ipv6\" option is deprecated"
|
|
|
|
;;
|
2009-02-21 15:02:02 +08:00
|
|
|
|
2004-09-06 03:54:02 +08:00
|
|
|
--without-http) HTTP=NO ;;
|
2009-03-23 21:14:51 +08:00
|
|
|
--without-http-cache) HTTP_CACHE=NO ;;
|
|
|
|
|
2004-11-26 00:17:31 +08:00
|
|
|
--http-log-path=*) NGX_HTTP_LOG_PATH="$value" ;;
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
--http-client-body-temp-path=*) NGX_HTTP_CLIENT_TEMP_PATH="$value" ;;
|
|
|
|
--http-proxy-temp-path=*) NGX_HTTP_PROXY_TEMP_PATH="$value" ;;
|
|
|
|
--http-fastcgi-temp-path=*) NGX_HTTP_FASTCGI_TEMP_PATH="$value" ;;
|
2010-06-02 01:44:51 +08:00
|
|
|
--http-uwsgi-temp-path=*) NGX_HTTP_UWSGI_TEMP_PATH="$value" ;;
|
2010-06-18 23:51:14 +08:00
|
|
|
--http-scgi-temp-path=*) NGX_HTTP_SCGI_TEMP_PATH="$value" ;;
|
2004-09-06 03:54:02 +08:00
|
|
|
|
2004-07-08 23:17:47 +08:00
|
|
|
--with-http_ssl_module) HTTP_SSL=YES ;;
|
2015-09-12 01:13:06 +08:00
|
|
|
--with-http_v2_module) HTTP_V2=YES ;;
|
nginx-0.3.8-RELEASE import
*) Security: nginx now checks URI got from a backend in
"X-Accel-Redirect" header line or in SSI file for the "/../" paths
and zeroes.
*) Change: nginx now does not treat the empty user name in the
"Authorization" header line as valid one.
*) Feature: the "ssl_session_timeout" directives of the
ngx_http_ssl_module and ngx_imap_ssl_module.
*) Feature: the "auth_http_header" directive of the
ngx_imap_auth_http_module.
*) Feature: the "add_header" directive.
*) Feature: the ngx_http_realip_module.
*) Feature: the new variables to use in the "log_format" directive:
$bytes_sent, $apache_bytes_sent, $status, $time_gmt, $uri,
$request_time, $request_length, $upstream_status,
$upstream_response_time, $gzip_ratio, $uid_got, $uid_set,
$connection, $pipe, and $msec. The parameters in the "%name" form
will be canceled soon.
*) Change: now the false variable values in the "if" directive are the
empty string "" and string starting with "0".
*) Bugfix: while using proxied or FastCGI-server nginx may leave
connections and temporary files with client requests in open state.
*) Bugfix: the worker processes did not flush the buffered logs on
graceful exit.
*) Bugfix: if the request URI was changes by the "rewrite" directive
and the request was proxied in location given by regular expression,
then the incorrect request was transferred to backend; the bug had
appeared in 0.2.6.
*) Bugfix: the "expires" directive did not remove the previous
"Expires" header.
*) Bugfix: nginx may stop to accept requests if the "rtsig" method and
several worker processes were used.
*) Bugfix: the "\"" and "\'" escape symbols were incorrectly handled in
SSI commands.
*) Bugfix: if the response was ended just after the SSI command and
gzipping was used, then the response did not transferred complete or
did not transferred at all.
2005-11-10 01:25:55 +08:00
|
|
|
--with-http_realip_module) HTTP_REALIP=YES ;;
|
2006-04-05 21:40:54 +08:00
|
|
|
--with-http_addition_module) HTTP_ADDITION=YES ;;
|
2008-08-04 22:48:15 +08:00
|
|
|
--with-http_xslt_module) HTTP_XSLT=YES ;;
|
2016-02-05 01:25:29 +08:00
|
|
|
--with-http_xslt_module=dynamic) HTTP_XSLT=DYNAMIC ;;
|
2009-05-02 02:42:09 +08:00
|
|
|
--with-http_image_filter_module) HTTP_IMAGE_FILTER=YES ;;
|
2016-02-05 01:25:29 +08:00
|
|
|
--with-http_image_filter_module=dynamic)
|
|
|
|
HTTP_IMAGE_FILTER=DYNAMIC ;;
|
2009-07-20 15:10:43 +08:00
|
|
|
--with-http_geoip_module) HTTP_GEOIP=YES ;;
|
2016-02-05 01:25:29 +08:00
|
|
|
--with-http_geoip_module=dynamic)
|
|
|
|
HTTP_GEOIP=DYNAMIC ;;
|
2007-04-20 01:54:23 +08:00
|
|
|
--with-http_sub_module) HTTP_SUB=YES ;;
|
2006-04-14 17:53:38 +08:00
|
|
|
--with-http_dav_module) HTTP_DAV=YES ;;
|
2006-10-09 22:17:36 +08:00
|
|
|
--with-http_flv_module) HTTP_FLV=YES ;;
|
2011-09-09 18:22:34 +08:00
|
|
|
--with-http_mp4_module) HTTP_MP4=YES ;;
|
2012-09-11 00:52:47 +08:00
|
|
|
--with-http_gunzip_module) HTTP_GUNZIP=YES ;;
|
2007-12-27 22:21:59 +08:00
|
|
|
--with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;;
|
2013-08-21 23:19:47 +08:00
|
|
|
--with-http_auth_request_module) HTTP_AUTH_REQUEST=YES ;;
|
2008-09-05 23:45:55 +08:00
|
|
|
--with-http_random_index_module) HTTP_RANDOM_INDEX=YES ;;
|
2008-09-27 21:22:10 +08:00
|
|
|
--with-http_secure_link_module) HTTP_SECURE_LINK=YES ;;
|
2009-11-16 20:20:00 +08:00
|
|
|
--with-http_degradation_module) HTTP_DEGRADATION=YES ;;
|
2015-12-07 21:30:48 +08:00
|
|
|
--with-http_slice_module) HTTP_SLICE=YES ;;
|
2006-04-14 17:53:38 +08:00
|
|
|
|
2004-06-23 00:43:09 +08:00
|
|
|
--without-http_charset_module) HTTP_CHARSET=NO ;;
|
2003-11-26 04:44:56 +08:00
|
|
|
--without-http_gzip_module) HTTP_GZIP=NO ;;
|
2004-07-08 23:17:47 +08:00
|
|
|
--without-http_ssi_module) HTTP_SSI=NO ;;
|
2004-08-27 23:40:59 +08:00
|
|
|
--without-http_userid_module) HTTP_USERID=NO ;;
|
2004-08-29 11:55:41 +08:00
|
|
|
--without-http_access_module) HTTP_ACCESS=NO ;;
|
2005-03-23 00:02:46 +08:00
|
|
|
--without-http_auth_basic_module) HTTP_AUTH_BASIC=NO ;;
|
2017-07-20 13:50:49 +08:00
|
|
|
--without-http_mirror_module) HTTP_MIRROR=NO ;;
|
2004-10-25 23:29:23 +08:00
|
|
|
--without-http_autoindex_module) HTTP_AUTOINDEX=NO ;;
|
2004-06-24 15:53:37 +08:00
|
|
|
--without-http_status_module) HTTP_STATUS=NO ;;
|
2005-02-04 03:33:37 +08:00
|
|
|
--without-http_geo_module) HTTP_GEO=NO ;;
|
2005-12-16 23:07:08 +08:00
|
|
|
--without-http_map_module) HTTP_MAP=NO ;;
|
2010-05-14 17:02:10 +08:00
|
|
|
--without-http_split_clients_module) HTTP_SPLIT_CLIENTS=NO ;;
|
2005-11-26 18:11:11 +08:00
|
|
|
--without-http_referer_module) HTTP_REFERER=NO ;;
|
2004-06-24 15:53:37 +08:00
|
|
|
--without-http_rewrite_module) HTTP_REWRITE=NO ;;
|
2003-11-26 04:44:56 +08:00
|
|
|
--without-http_proxy_module) HTTP_PROXY=NO ;;
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
--without-http_fastcgi_module) HTTP_FASTCGI=NO ;;
|
2010-06-01 23:53:11 +08:00
|
|
|
--without-http_uwsgi_module) HTTP_UWSGI=NO ;;
|
2010-06-18 23:51:14 +08:00
|
|
|
--without-http_scgi_module) HTTP_SCGI=NO ;;
|
2018-03-18 04:04:24 +08:00
|
|
|
--without-http_grpc_module) HTTP_GRPC=NO ;;
|
2005-11-26 18:11:11 +08:00
|
|
|
--without-http_memcached_module) HTTP_MEMCACHED=NO ;;
|
2011-11-14 22:04:42 +08:00
|
|
|
--without-http_limit_conn_module) HTTP_LIMIT_CONN=NO ;;
|
2008-11-10 23:22:33 +08:00
|
|
|
--without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;;
|
2005-11-26 18:11:11 +08:00
|
|
|
--without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;;
|
2006-09-18 20:25:07 +08:00
|
|
|
--without-http_browser_module) HTTP_BROWSER=NO ;;
|
2014-06-02 20:16:22 +08:00
|
|
|
--without-http_upstream_hash_module) HTTP_UPSTREAM_HASH=NO ;;
|
2006-12-05 00:46:13 +08:00
|
|
|
--without-http_upstream_ip_hash_module) HTTP_UPSTREAM_IP_HASH=NO ;;
|
2012-06-04 07:21:26 +08:00
|
|
|
--without-http_upstream_least_conn_module)
|
|
|
|
HTTP_UPSTREAM_LEAST_CONN=NO ;;
|
2018-06-15 16:46:14 +08:00
|
|
|
--without-http_upstream_random_module)
|
|
|
|
HTTP_UPSTREAM_RANDOM=NO ;;
|
2011-09-16 03:28:18 +08:00
|
|
|
--without-http_upstream_keepalive_module) HTTP_UPSTREAM_KEEPALIVE=NO ;;
|
2015-04-15 00:01:25 +08:00
|
|
|
--without-http_upstream_zone_module) HTTP_UPSTREAM_ZONE=NO ;;
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2006-01-16 22:56:53 +08:00
|
|
|
--with-http_perl_module) HTTP_PERL=YES ;;
|
2016-02-26 19:27:04 +08:00
|
|
|
--with-http_perl_module=dynamic) HTTP_PERL=DYNAMIC ;;
|
2006-01-16 22:56:53 +08:00
|
|
|
--with-perl_modules_path=*) NGX_PERL_MODULES="$value" ;;
|
|
|
|
--with-perl=*) NGX_PERL="$value" ;;
|
|
|
|
|
2005-02-09 22:31:07 +08:00
|
|
|
# STUB
|
|
|
|
--with-http_stub_status_module) HTTP_STUB_STATUS=YES ;;
|
|
|
|
|
2007-03-19 21:36:56 +08:00
|
|
|
--with-mail) MAIL=YES ;;
|
2016-02-05 01:25:29 +08:00
|
|
|
--with-mail=dynamic) MAIL=DYNAMIC ;;
|
2007-03-19 21:36:56 +08:00
|
|
|
--with-mail_ssl_module) MAIL_SSL=YES ;;
|
|
|
|
# STUB
|
2015-04-29 19:59:02 +08:00
|
|
|
--with-imap)
|
|
|
|
MAIL=YES
|
|
|
|
NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
|
|
|
|
$0: warning: the \"--with-imap\" option is deprecated, \
|
|
|
|
use the \"--with-mail\" option instead"
|
|
|
|
;;
|
|
|
|
--with-imap_ssl_module)
|
|
|
|
MAIL_SSL=YES
|
|
|
|
NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
|
|
|
|
$0: warning: the \"--with-imap_ssl_module\" option is deprecated, \
|
|
|
|
use the \"--with-mail_ssl_module\" option instead"
|
|
|
|
;;
|
2007-09-16 00:51:16 +08:00
|
|
|
--without-mail_pop3_module) MAIL_POP3=NO ;;
|
|
|
|
--without-mail_imap_module) MAIL_IMAP=NO ;;
|
|
|
|
--without-mail_smtp_module) MAIL_SMTP=NO ;;
|
2004-09-07 23:29:22 +08:00
|
|
|
|
2015-04-20 18:05:11 +08:00
|
|
|
--with-stream) STREAM=YES ;;
|
2016-02-05 01:25:29 +08:00
|
|
|
--with-stream=dynamic) STREAM=DYNAMIC ;;
|
2015-04-20 18:05:11 +08:00
|
|
|
--with-stream_ssl_module) STREAM_SSL=YES ;;
|
2016-09-01 19:45:33 +08:00
|
|
|
--with-stream_realip_module) STREAM_REALIP=YES ;;
|
2016-07-12 22:34:43 +08:00
|
|
|
--with-stream_geoip_module) STREAM_GEOIP=YES ;;
|
|
|
|
--with-stream_geoip_module=dynamic)
|
|
|
|
STREAM_GEOIP=DYNAMIC ;;
|
2016-09-15 19:56:51 +08:00
|
|
|
--with-stream_ssl_preread_module)
|
|
|
|
STREAM_SSL_PREREAD=YES ;;
|
2015-06-18 19:17:30 +08:00
|
|
|
--without-stream_limit_conn_module)
|
|
|
|
STREAM_LIMIT_CONN=NO ;;
|
2015-06-04 18:04:12 +08:00
|
|
|
--without-stream_access_module) STREAM_ACCESS=NO ;;
|
2016-06-30 21:12:50 +08:00
|
|
|
--without-stream_geo_module) STREAM_GEO=NO ;;
|
2016-06-29 17:46:12 +08:00
|
|
|
--without-stream_map_module) STREAM_MAP=NO ;;
|
2016-07-12 22:34:52 +08:00
|
|
|
--without-stream_split_clients_module)
|
|
|
|
STREAM_SPLIT_CLIENTS=NO ;;
|
2016-05-19 03:08:49 +08:00
|
|
|
--without-stream_return_module) STREAM_RETURN=NO ;;
|
2015-04-20 18:05:11 +08:00
|
|
|
--without-stream_upstream_hash_module)
|
|
|
|
STREAM_UPSTREAM_HASH=NO ;;
|
|
|
|
--without-stream_upstream_least_conn_module)
|
|
|
|
STREAM_UPSTREAM_LEAST_CONN=NO ;;
|
2018-06-15 16:46:14 +08:00
|
|
|
--without-stream_upstream_random_module)
|
|
|
|
STREAM_UPSTREAM_RANDOM=NO ;;
|
2015-04-20 18:05:11 +08:00
|
|
|
--without-stream_upstream_zone_module)
|
|
|
|
STREAM_UPSTREAM_ZONE=NO ;;
|
|
|
|
|
2008-03-18 18:36:27 +08:00
|
|
|
--with-google_perftools_module) NGX_GOOGLE_PERFTOOLS=YES ;;
|
2008-08-13 16:29:27 +08:00
|
|
|
--with-cpp_test_module) NGX_CPP_TEST=YES ;;
|
2008-03-18 18:36:27 +08:00
|
|
|
|
2005-02-16 21:40:36 +08:00
|
|
|
--add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;;
|
2016-02-05 01:25:29 +08:00
|
|
|
--add-dynamic-module=*) DYNAMIC_ADDONS="$DYNAMIC_ADDONS $value" ;;
|
2004-11-21 03:52:20 +08:00
|
|
|
|
2016-10-03 20:58:16 +08:00
|
|
|
--with-compat) NGX_COMPAT=YES ;;
|
|
|
|
|
2003-11-26 04:44:56 +08:00
|
|
|
--with-cc=*) CC="$value" ;;
|
2004-03-12 05:34:52 +08:00
|
|
|
--with-cpp=*) CPP="$value" ;;
|
2004-10-21 23:34:38 +08:00
|
|
|
--with-cc-opt=*) NGX_CC_OPT="$value" ;;
|
|
|
|
--with-ld-opt=*) NGX_LD_OPT="$value" ;;
|
2004-03-11 04:56:39 +08:00
|
|
|
--with-cpu-opt=*) CPU="$value" ;;
|
2004-11-26 00:17:31 +08:00
|
|
|
--with-debug) NGX_DEBUG=YES ;;
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2004-02-20 00:48:14 +08:00
|
|
|
--without-pcre) USE_PCRE=DISABLED ;;
|
2009-03-20 00:06:32 +08:00
|
|
|
--with-pcre) USE_PCRE=YES ;;
|
2003-11-26 04:44:56 +08:00
|
|
|
--with-pcre=*) PCRE="$value" ;;
|
2004-03-11 04:56:39 +08:00
|
|
|
--with-pcre-opt=*) PCRE_OPT="$value" ;;
|
2011-12-26 21:10:36 +08:00
|
|
|
--with-pcre-jit) PCRE_JIT=YES ;;
|
2004-03-11 04:56:39 +08:00
|
|
|
|
2004-07-26 02:34:14 +08:00
|
|
|
--with-openssl=*) OPENSSL="$value" ;;
|
2005-03-19 20:38:37 +08:00
|
|
|
--with-openssl-opt=*) OPENSSL_OPT="$value" ;;
|
2004-07-26 02:34:14 +08:00
|
|
|
|
2016-06-30 23:57:39 +08:00
|
|
|
--with-md5=*)
|
|
|
|
NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
|
|
|
|
$0: warning: the \"--with-md5\" option is deprecated"
|
|
|
|
;;
|
|
|
|
--with-md5-opt=*)
|
|
|
|
NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
|
|
|
|
$0: warning: the \"--with-md5-opt\" option is deprecated"
|
|
|
|
;;
|
|
|
|
--with-md5-asm)
|
|
|
|
NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
|
|
|
|
$0: warning: the \"--with-md5-asm\" option is deprecated"
|
|
|
|
;;
|
2004-03-11 04:56:39 +08:00
|
|
|
|
2016-06-30 23:57:39 +08:00
|
|
|
--with-sha1=*)
|
|
|
|
NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
|
|
|
|
$0: warning: the \"--with-sha1\" option is deprecated"
|
|
|
|
;;
|
|
|
|
--with-sha1-opt=*)
|
|
|
|
NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
|
|
|
|
$0: warning: the \"--with-sha1-opt\" option is deprecated"
|
|
|
|
;;
|
|
|
|
--with-sha1-asm)
|
|
|
|
NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG
|
|
|
|
$0: warning: the \"--with-sha1-asm\" option is deprecated"
|
|
|
|
;;
|
2006-05-30 01:28:12 +08:00
|
|
|
|
2003-11-26 04:44:56 +08:00
|
|
|
--with-zlib=*) ZLIB="$value" ;;
|
2004-03-11 01:55:19 +08:00
|
|
|
--with-zlib-opt=*) ZLIB_OPT="$value" ;;
|
2004-03-11 04:56:39 +08:00
|
|
|
--with-zlib-asm=*) ZLIB_ASM="$value" ;;
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2009-11-26 01:55:25 +08:00
|
|
|
--with-libatomic) NGX_LIBATOMIC=YES ;;
|
|
|
|
--with-libatomic=*) NGX_LIBATOMIC="$value" ;;
|
|
|
|
|
2004-11-26 00:17:31 +08:00
|
|
|
--test-build-devpoll) NGX_TEST_BUILD_DEVPOLL=YES ;;
|
2006-09-26 20:20:12 +08:00
|
|
|
--test-build-eventport) NGX_TEST_BUILD_EVENTPORT=YES ;;
|
2004-11-26 00:17:31 +08:00
|
|
|
--test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;;
|
2004-12-03 02:40:46 +08:00
|
|
|
--test-build-solaris-sendfilev) NGX_TEST_BUILD_SOLARIS_SENDFILEV=YES ;;
|
2003-11-26 04:44:56 +08:00
|
|
|
|
|
|
|
*)
|
|
|
|
echo "$0: error: invalid option \"$option\""
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
|
|
|
|
2009-04-27 03:37:38 +08:00
|
|
|
NGX_CONFIGURE="$opt"
|
|
|
|
|
|
|
|
|
2003-12-15 04:10:27 +08:00
|
|
|
if [ $help = yes ]; then
|
2004-01-23 17:26:18 +08:00
|
|
|
|
2004-10-21 23:34:38 +08:00
|
|
|
cat << END
|
|
|
|
|
2011-10-26 21:18:33 +08:00
|
|
|
--help print this message
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
|
2011-10-26 21:18:33 +08:00
|
|
|
--prefix=PATH set installation prefix
|
|
|
|
--sbin-path=PATH set nginx binary pathname
|
2016-02-05 01:25:29 +08:00
|
|
|
--modules-path=PATH set modules path
|
2011-10-26 21:18:33 +08:00
|
|
|
--conf-path=PATH set nginx.conf pathname
|
|
|
|
--error-log-path=PATH set error log pathname
|
|
|
|
--pid-path=PATH set nginx.pid pathname
|
|
|
|
--lock-path=PATH set nginx.lock pathname
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
|
2011-10-26 21:18:33 +08:00
|
|
|
--user=USER set non-privileged user for
|
|
|
|
worker processes
|
|
|
|
--group=GROUP set non-privileged group for
|
|
|
|
worker processes
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
|
2014-05-20 20:10:07 +08:00
|
|
|
--build=NAME set build name
|
2011-10-26 21:18:33 +08:00
|
|
|
--builddir=DIR set build directory
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
|
|
|
|
--with-select_module enable select module
|
|
|
|
--without-select_module disable select module
|
|
|
|
--with-poll_module enable poll module
|
|
|
|
--without-poll_module disable poll module
|
|
|
|
|
2015-03-14 22:37:07 +08:00
|
|
|
--with-threads enable thread pool support
|
|
|
|
|
2011-10-26 21:18:33 +08:00
|
|
|
--with-file-aio enable file AIO support
|
2009-02-21 15:02:02 +08:00
|
|
|
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
--with-http_ssl_module enable ngx_http_ssl_module
|
2015-09-12 01:13:06 +08:00
|
|
|
--with-http_v2_module enable ngx_http_v2_module
|
2005-11-26 18:11:11 +08:00
|
|
|
--with-http_realip_module enable ngx_http_realip_module
|
2006-04-18 03:55:41 +08:00
|
|
|
--with-http_addition_module enable ngx_http_addition_module
|
2008-08-04 22:48:15 +08:00
|
|
|
--with-http_xslt_module enable ngx_http_xslt_module
|
2016-02-05 01:25:29 +08:00
|
|
|
--with-http_xslt_module=dynamic enable dynamic ngx_http_xslt_module
|
2009-05-02 03:14:10 +08:00
|
|
|
--with-http_image_filter_module enable ngx_http_image_filter_module
|
2016-02-05 01:25:29 +08:00
|
|
|
--with-http_image_filter_module=dynamic
|
|
|
|
enable dynamic ngx_http_image_filter_module
|
2009-07-21 21:27:19 +08:00
|
|
|
--with-http_geoip_module enable ngx_http_geoip_module
|
2016-02-05 01:25:29 +08:00
|
|
|
--with-http_geoip_module=dynamic enable dynamic ngx_http_geoip_module
|
2007-04-20 01:54:23 +08:00
|
|
|
--with-http_sub_module enable ngx_http_sub_module
|
2006-04-18 03:55:41 +08:00
|
|
|
--with-http_dav_module enable ngx_http_dav_module
|
2006-10-09 22:17:36 +08:00
|
|
|
--with-http_flv_module enable ngx_http_flv_module
|
2011-09-09 18:22:34 +08:00
|
|
|
--with-http_mp4_module enable ngx_http_mp4_module
|
2012-09-11 00:52:47 +08:00
|
|
|
--with-http_gunzip_module enable ngx_http_gunzip_module
|
2007-12-27 22:21:59 +08:00
|
|
|
--with-http_gzip_static_module enable ngx_http_gzip_static_module
|
2013-08-21 23:19:47 +08:00
|
|
|
--with-http_auth_request_module enable ngx_http_auth_request_module
|
2008-09-05 23:45:55 +08:00
|
|
|
--with-http_random_index_module enable ngx_http_random_index_module
|
2008-09-27 21:22:10 +08:00
|
|
|
--with-http_secure_link_module enable ngx_http_secure_link_module
|
2009-11-16 20:20:00 +08:00
|
|
|
--with-http_degradation_module enable ngx_http_degradation_module
|
2015-12-07 21:30:48 +08:00
|
|
|
--with-http_slice_module enable ngx_http_slice_module
|
2007-05-02 03:55:25 +08:00
|
|
|
--with-http_stub_status_module enable ngx_http_stub_status_module
|
2006-04-18 03:55:41 +08:00
|
|
|
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
--without-http_charset_module disable ngx_http_charset_module
|
|
|
|
--without-http_gzip_module disable ngx_http_gzip_module
|
2005-03-19 20:38:37 +08:00
|
|
|
--without-http_ssi_module disable ngx_http_ssi_module
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
--without-http_userid_module disable ngx_http_userid_module
|
|
|
|
--without-http_access_module disable ngx_http_access_module
|
2005-03-23 00:02:46 +08:00
|
|
|
--without-http_auth_basic_module disable ngx_http_auth_basic_module
|
2017-07-20 13:50:49 +08:00
|
|
|
--without-http_mirror_module disable ngx_http_mirror_module
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
--without-http_autoindex_module disable ngx_http_autoindex_module
|
2005-02-04 03:33:37 +08:00
|
|
|
--without-http_geo_module disable ngx_http_geo_module
|
2006-09-27 05:15:02 +08:00
|
|
|
--without-http_map_module disable ngx_http_map_module
|
2010-05-14 17:02:10 +08:00
|
|
|
--without-http_split_clients_module disable ngx_http_split_clients_module
|
2005-11-26 18:11:11 +08:00
|
|
|
--without-http_referer_module disable ngx_http_referer_module
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
--without-http_rewrite_module disable ngx_http_rewrite_module
|
|
|
|
--without-http_proxy_module disable ngx_http_proxy_module
|
|
|
|
--without-http_fastcgi_module disable ngx_http_fastcgi_module
|
2010-06-01 23:53:11 +08:00
|
|
|
--without-http_uwsgi_module disable ngx_http_uwsgi_module
|
2010-06-18 23:51:14 +08:00
|
|
|
--without-http_scgi_module disable ngx_http_scgi_module
|
2018-03-19 17:41:36 +08:00
|
|
|
--without-http_grpc_module disable ngx_http_grpc_module
|
2005-11-26 18:11:11 +08:00
|
|
|
--without-http_memcached_module disable ngx_http_memcached_module
|
2011-11-14 22:04:42 +08:00
|
|
|
--without-http_limit_conn_module disable ngx_http_limit_conn_module
|
2008-11-10 23:22:33 +08:00
|
|
|
--without-http_limit_req_module disable ngx_http_limit_req_module
|
2005-11-26 18:11:11 +08:00
|
|
|
--without-http_empty_gif_module disable ngx_http_empty_gif_module
|
2006-09-27 05:15:02 +08:00
|
|
|
--without-http_browser_module disable ngx_http_browser_module
|
2014-06-02 20:16:22 +08:00
|
|
|
--without-http_upstream_hash_module
|
|
|
|
disable ngx_http_upstream_hash_module
|
2006-12-05 00:46:13 +08:00
|
|
|
--without-http_upstream_ip_hash_module
|
|
|
|
disable ngx_http_upstream_ip_hash_module
|
2012-09-27 00:39:38 +08:00
|
|
|
--without-http_upstream_least_conn_module
|
|
|
|
disable ngx_http_upstream_least_conn_module
|
2018-06-15 16:46:14 +08:00
|
|
|
--without-http_upstream_random_module
|
|
|
|
disable ngx_http_upstream_random_module
|
2012-09-27 00:39:38 +08:00
|
|
|
--without-http_upstream_keepalive_module
|
|
|
|
disable ngx_http_upstream_keepalive_module
|
2015-04-15 00:01:25 +08:00
|
|
|
--without-http_upstream_zone_module
|
|
|
|
disable ngx_http_upstream_zone_module
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
|
2006-01-16 22:56:53 +08:00
|
|
|
--with-http_perl_module enable ngx_http_perl_module
|
2016-02-26 19:27:04 +08:00
|
|
|
--with-http_perl_module=dynamic enable dynamic ngx_http_perl_module
|
2011-10-26 21:18:33 +08:00
|
|
|
--with-perl_modules_path=PATH set Perl modules path
|
|
|
|
--with-perl=PATH set perl binary pathname
|
|
|
|
|
|
|
|
--http-log-path=PATH set http access log pathname
|
|
|
|
--http-client-body-temp-path=PATH set path to store
|
|
|
|
http client request body temporary files
|
|
|
|
--http-proxy-temp-path=PATH set path to store
|
|
|
|
http proxy temporary files
|
|
|
|
--http-fastcgi-temp-path=PATH set path to store
|
|
|
|
http fastcgi temporary files
|
|
|
|
--http-uwsgi-temp-path=PATH set path to store
|
|
|
|
http uwsgi temporary files
|
|
|
|
--http-scgi-temp-path=PATH set path to store
|
|
|
|
http scgi temporary files
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
|
2005-07-14 20:51:53 +08:00
|
|
|
--without-http disable HTTP server
|
2009-03-23 21:14:51 +08:00
|
|
|
--without-http-cache disable HTTP cache
|
2005-07-14 20:51:53 +08:00
|
|
|
|
2007-09-22 00:14:17 +08:00
|
|
|
--with-mail enable POP3/IMAP4/SMTP proxy module
|
2016-02-05 01:25:29 +08:00
|
|
|
--with-mail=dynamic enable dynamic POP3/IMAP4/SMTP proxy module
|
2007-03-19 21:36:56 +08:00
|
|
|
--with-mail_ssl_module enable ngx_mail_ssl_module
|
2007-09-22 00:14:17 +08:00
|
|
|
--without-mail_pop3_module disable ngx_mail_pop3_module
|
|
|
|
--without-mail_imap_module disable ngx_mail_imap_module
|
|
|
|
--without-mail_smtp_module disable ngx_mail_smtp_module
|
2005-07-14 20:51:53 +08:00
|
|
|
|
2016-01-21 00:52:12 +08:00
|
|
|
--with-stream enable TCP/UDP proxy module
|
|
|
|
--with-stream=dynamic enable dynamic TCP/UDP proxy module
|
2015-04-20 18:05:11 +08:00
|
|
|
--with-stream_ssl_module enable ngx_stream_ssl_module
|
2016-09-01 19:45:33 +08:00
|
|
|
--with-stream_realip_module enable ngx_stream_realip_module
|
2016-07-12 22:34:43 +08:00
|
|
|
--with-stream_geoip_module enable ngx_stream_geoip_module
|
|
|
|
--with-stream_geoip_module=dynamic enable dynamic ngx_stream_geoip_module
|
2016-09-15 19:56:51 +08:00
|
|
|
--with-stream_ssl_preread_module enable ngx_stream_ssl_preread_module
|
2015-06-18 19:17:30 +08:00
|
|
|
--without-stream_limit_conn_module disable ngx_stream_limit_conn_module
|
2015-06-04 18:04:12 +08:00
|
|
|
--without-stream_access_module disable ngx_stream_access_module
|
2016-06-30 21:12:50 +08:00
|
|
|
--without-stream_geo_module disable ngx_stream_geo_module
|
2016-06-29 17:46:12 +08:00
|
|
|
--without-stream_map_module disable ngx_stream_map_module
|
2016-07-12 22:34:52 +08:00
|
|
|
--without-stream_split_clients_module
|
|
|
|
disable ngx_stream_split_clients_module
|
2016-05-19 03:08:49 +08:00
|
|
|
--without-stream_return_module disable ngx_stream_return_module
|
2015-04-20 18:05:11 +08:00
|
|
|
--without-stream_upstream_hash_module
|
|
|
|
disable ngx_stream_upstream_hash_module
|
|
|
|
--without-stream_upstream_least_conn_module
|
|
|
|
disable ngx_stream_upstream_least_conn_module
|
2018-06-15 16:46:14 +08:00
|
|
|
--without-stream_upstream_random_module
|
|
|
|
disable ngx_stream_upstream_random_module
|
2015-04-20 18:05:11 +08:00
|
|
|
--without-stream_upstream_zone_module
|
|
|
|
disable ngx_stream_upstream_zone_module
|
|
|
|
|
2008-03-18 18:36:27 +08:00
|
|
|
--with-google_perftools_module enable ngx_google_perftools_module
|
2008-08-06 03:32:50 +08:00
|
|
|
--with-cpp_test_module enable ngx_cpp_test_module
|
2008-03-18 18:36:27 +08:00
|
|
|
|
2016-02-05 01:25:29 +08:00
|
|
|
--add-module=PATH enable external module
|
|
|
|
--add-dynamic-module=PATH enable dynamic external module
|
2007-05-02 03:55:25 +08:00
|
|
|
|
2016-10-03 20:58:16 +08:00
|
|
|
--with-compat dynamic modules compatibility
|
|
|
|
|
2011-10-26 21:18:33 +08:00
|
|
|
--with-cc=PATH set C compiler pathname
|
|
|
|
--with-cpp=PATH set C preprocessor pathname
|
|
|
|
--with-cc-opt=OPTIONS set additional C compiler options
|
|
|
|
--with-ld-opt=OPTIONS set additional linker options
|
|
|
|
--with-cpu-opt=CPU build for the specified CPU, valid values:
|
2006-02-16 23:26:46 +08:00
|
|
|
pentium, pentiumpro, pentium3, pentium4,
|
|
|
|
athlon, opteron, sparc32, sparc64, ppc64
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
|
2009-03-20 00:02:40 +08:00
|
|
|
--without-pcre disable PCRE library usage
|
2009-03-20 00:06:32 +08:00
|
|
|
--with-pcre force PCRE library usage
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
--with-pcre=DIR set path to PCRE library sources
|
2011-10-26 21:18:33 +08:00
|
|
|
--with-pcre-opt=OPTIONS set additional build options for PCRE
|
2011-12-26 21:10:36 +08:00
|
|
|
--with-pcre-jit build PCRE with JIT compilation support
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
|
|
|
|
--with-zlib=DIR set path to zlib library sources
|
2011-10-26 21:18:33 +08:00
|
|
|
--with-zlib-opt=OPTIONS set additional build options for zlib
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
--with-zlib-asm=CPU use zlib assembler sources optimized
|
2011-10-26 21:18:33 +08:00
|
|
|
for the specified CPU, valid values:
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
pentium, pentiumpro
|
|
|
|
|
2009-11-26 01:55:25 +08:00
|
|
|
--with-libatomic force libatomic_ops library usage
|
|
|
|
--with-libatomic=DIR set path to libatomic_ops library sources
|
|
|
|
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
--with-openssl=DIR set path to OpenSSL library sources
|
2011-10-26 21:18:33 +08:00
|
|
|
--with-openssl-opt=OPTIONS set additional build options for OpenSSL
|
nginx-0.1.14-RELEASE import
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; the bug had appeared in
0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
2005-01-18 21:03:58 +08:00
|
|
|
|
2011-10-26 21:18:33 +08:00
|
|
|
--with-debug enable debug logging
|
2003-11-26 04:44:56 +08:00
|
|
|
|
2004-10-21 23:34:38 +08:00
|
|
|
END
|
2003-11-26 04:44:56 +08:00
|
|
|
|
|
|
|
exit 1
|
|
|
|
fi
|
2004-04-22 02:54:33 +08:00
|
|
|
|
|
|
|
|
2004-11-26 00:17:31 +08:00
|
|
|
if [ ".$NGX_PLATFORM" = ".win32" ]; then
|
2004-11-11 22:07:14 +08:00
|
|
|
NGX_WINE=$WINE
|
2004-04-22 02:54:33 +08:00
|
|
|
fi
|
2004-05-19 04:28:54 +08:00
|
|
|
|
|
|
|
|
2015-06-10 17:25:31 +08:00
|
|
|
NGX_SBIN_PATH=${NGX_SBIN_PATH:-sbin/nginx}
|
2016-02-05 01:25:29 +08:00
|
|
|
NGX_MODULES_PATH=${NGX_MODULES_PATH:-modules}
|
2009-04-27 19:32:33 +08:00
|
|
|
NGX_CONF_PATH=${NGX_CONF_PATH:-conf/nginx.conf}
|
2007-08-15 03:26:20 +08:00
|
|
|
NGX_CONF_PREFIX=`dirname $NGX_CONF_PATH`
|
2009-04-27 19:32:33 +08:00
|
|
|
NGX_PID_PATH=${NGX_PID_PATH:-logs/nginx.pid}
|
|
|
|
NGX_LOCK_PATH=${NGX_LOCK_PATH:-logs/nginx.lock}
|
2007-08-15 03:26:20 +08:00
|
|
|
|
2009-04-27 19:32:33 +08:00
|
|
|
if [ ".$NGX_ERROR_LOG_PATH" = ".stderr" ]; then
|
|
|
|
NGX_ERROR_LOG_PATH=
|
|
|
|
else
|
|
|
|
NGX_ERROR_LOG_PATH=${NGX_ERROR_LOG_PATH:-logs/error.log}
|
|
|
|
fi
|
2007-08-15 03:26:20 +08:00
|
|
|
|
2009-04-27 19:32:33 +08:00
|
|
|
NGX_HTTP_LOG_PATH=${NGX_HTTP_LOG_PATH:-logs/access.log}
|
|
|
|
NGX_HTTP_CLIENT_TEMP_PATH=${NGX_HTTP_CLIENT_TEMP_PATH:-client_body_temp}
|
|
|
|
NGX_HTTP_PROXY_TEMP_PATH=${NGX_HTTP_PROXY_TEMP_PATH:-proxy_temp}
|
|
|
|
NGX_HTTP_FASTCGI_TEMP_PATH=${NGX_HTTP_FASTCGI_TEMP_PATH:-fastcgi_temp}
|
2010-06-02 01:44:51 +08:00
|
|
|
NGX_HTTP_UWSGI_TEMP_PATH=${NGX_HTTP_UWSGI_TEMP_PATH:-uwsgi_temp}
|
2010-06-18 23:51:14 +08:00
|
|
|
NGX_HTTP_SCGI_TEMP_PATH=${NGX_HTTP_SCGI_TEMP_PATH:-scgi_temp}
|
2006-01-16 22:56:53 +08:00
|
|
|
|
|
|
|
case ".$NGX_PERL_MODULES" in
|
|
|
|
./*)
|
|
|
|
;;
|
|
|
|
|
|
|
|
.)
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
NGX_PERL_MODULES=$NGX_PREFIX/$NGX_PERL_MODULES
|
|
|
|
;;
|
|
|
|
esac
|