Mercurial > hg > nginx-quic
annotate auto/options @ 5584:0251f2f1dc93
Disabled redirects to named locations if URI is not set.
If something like "error_page 400 @name" is used in a configuration,
a request could be passed to a named location without URI set, and this
in turn might result in segmentation faults or other bad effects
as most of the code assumes URI is set.
With this change nginx will catch such configuration problems in
ngx_http_named_location() and will stop request processing if URI
is not set, returning 500.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 27 Feb 2014 20:36:35 +0400 |
parents | 00bdc9f08a16 |
children | 1209b8a7b077 |
rev | line source |
---|---|
444
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
440
diff
changeset
|
1 |
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
440
diff
changeset
|
2 # Copyright (C) Igor Sysoev |
4412 | 3 # Copyright (C) Nginx, Inc. |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
4 |
455 | 5 |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
6 help=no |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
7 |
469 | 8 NGX_PREFIX= |
9 NGX_SBIN_PATH= | |
1352 | 10 NGX_CONF_PREFIX= |
469 | 11 NGX_CONF_PATH= |
12 NGX_ERROR_LOG_PATH= | |
13 NGX_PID_PATH= | |
611 | 14 NGX_LOCK_PATH= |
455 | 15 NGX_USER= |
16 NGX_GROUP= | |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
17 |
5071
e14b49c12a73
Configure: changed default compiler from "gcc" to "cc".
Gleb Smirnoff <glebius@nginx.com>
parents:
4865
diff
changeset
|
18 CC=${CC:-cc} |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
19 CPP= |
455 | 20 NGX_OBJS=objs |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
21 |
469 | 22 NGX_DEBUG=NO |
455 | 23 NGX_CC_OPT= |
24 NGX_LD_OPT= | |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
25 CPU=NO |
283
8f65fee68270
nginx-0.0.2-2004-03-10-20:55:19 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
26 |
1490 | 27 NGX_RPATH=NO |
28 | |
469 | 29 NGX_TEST_BUILD_DEVPOLL=NO |
719
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
30 NGX_TEST_BUILD_EVENTPORT=NO |
469 | 31 NGX_TEST_BUILD_EPOLL=NO |
32 NGX_TEST_BUILD_RTSIG=NO | |
473 | 33 NGX_TEST_BUILD_SOLARIS_SENDFILEV=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
34 |
469 | 35 NGX_PLATFORM= |
461 | 36 NGX_WINE= |
37 | |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
38 EVENT_FOUND=NO |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
39 |
260
5dacbb4daaf6
nginx-0.0.2-2004-02-17-20:53:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
255
diff
changeset
|
40 EVENT_RTSIG=NO |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
41 EVENT_SELECT=NO |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
42 EVENT_POLL=NO |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
43 EVENT_AIO=NO |
238
674f85a4d00f
nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
216
diff
changeset
|
44 |
266
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
45 USE_THREADS=NO |
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
46 |
3052
6060225e9261
FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents:
2991
diff
changeset
|
47 NGX_FILE_AIO=NO |
2512
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
48 NGX_IPV6=NO |
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
49 |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
50 HTTP=YES |
479 | 51 |
52 NGX_HTTP_LOG_PATH= | |
53 NGX_HTTP_CLIENT_TEMP_PATH= | |
54 NGX_HTTP_PROXY_TEMP_PATH= | |
55 NGX_HTTP_FASTCGI_TEMP_PATH= | |
3549
0b3613117ac5
./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents:
3541
diff
changeset
|
56 NGX_HTTP_UWSGI_TEMP_PATH= |
3637 | 57 NGX_HTTP_SCGI_TEMP_PATH= |
479 | 58 |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
59 HTTP_CACHE=YES |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
337
diff
changeset
|
60 HTTP_CHARSET=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
61 HTTP_GZIP=YES |
383
c05876036128
nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents:
368
diff
changeset
|
62 HTTP_SSL=NO |
5121
c0f7b94e88ba
Preliminary experimental support for SPDY draft 2.
Valentin Bartenev <vbart@nginx.com>
parents:
5071
diff
changeset
|
63 HTTP_SPDY=NO |
497 | 64 HTTP_SSI=YES |
509 | 65 HTTP_POSTPONE=NO |
573 | 66 HTTP_REALIP=NO |
2139 | 67 HTTP_XSLT=NO |
2788 | 68 HTTP_IMAGE_FILTER=NO |
1172 | 69 HTTP_SUB=NO |
629 | 70 HTTP_ADDITION=NO |
633 | 71 HTTP_DAV=NO |
368
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
72 HTTP_ACCESS=YES |
503 | 73 HTTP_AUTH_BASIC=YES |
5329
00bdc9f08a16
Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5121
diff
changeset
|
74 HTTP_AUTH_REQUEST=NO |
408
d6e2b445c1b8
nginx-0.0.10-2004-08-27-19:40:59 import
Igor Sysoev <igor@sysoev.ru>
parents:
399
diff
changeset
|
75 HTTP_USERID=YES |
457 | 76 HTTP_AUTOINDEX=YES |
2235 | 77 HTTP_RANDOM_INDEX=NO |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
78 HTTP_STATUS=NO |
485 | 79 HTTP_GEO=YES |
2985 | 80 HTTP_GEOIP=NO |
589 | 81 HTTP_MAP=YES |
3513
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3363
diff
changeset
|
82 HTTP_SPLIT_CLIENTS=YES |
577 | 83 HTTP_REFERER=YES |
367
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
84 HTTP_REWRITE=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
85 HTTP_PROXY=YES |
479 | 86 HTTP_FASTCGI=YES |
3541
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
87 HTTP_UWSGI=YES |
3637 | 88 HTTP_SCGI=YES |
599 | 89 HTTP_PERL=NO |
581 | 90 HTTP_MEMCACHED=YES |
4280
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
91 HTTP_LIMIT_CONN=YES |
2294 | 92 HTTP_LIMIT_REQ=YES |
577 | 93 HTTP_EMPTY_GIF=YES |
700 | 94 HTTP_BROWSER=YES |
2260 | 95 HTTP_SECURE_LINK=NO |
3326 | 96 HTTP_DEGRADATION=NO |
753 | 97 HTTP_FLV=NO |
4085 | 98 HTTP_MP4=NO |
4837 | 99 HTTP_GUNZIP=NO |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
100 HTTP_GZIP_STATIC=NO |
884 | 101 HTTP_UPSTREAM_IP_HASH=YES |
4654
a2ca3a6ee680
Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4412
diff
changeset
|
102 HTTP_UPSTREAM_LEAST_CONN=YES |
4127
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
103 HTTP_UPSTREAM_KEEPALIVE=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
104 |
487 | 105 # STUB |
106 HTTP_STUB_STATUS=NO | |
107 | |
1136 | 108 MAIL=NO |
109 MAIL_SSL=NO | |
1487
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
110 MAIL_POP3=YES |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
111 MAIL_IMAP=YES |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
112 MAIL_SMTP=YES |
417
0526206251f6
nginx-0.0.10-2004-09-07-19:29:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
415
diff
changeset
|
113 |
489 | 114 NGX_ADDONS= |
467 | 115 |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
253
diff
changeset
|
116 USE_PCRE=NO |
263
43c26e85205a
nginx-0.0.2-2004-02-19-11:45:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
260
diff
changeset
|
117 PCRE=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
118 PCRE_OPT= |
4388
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
119 PCRE_CONF_OPT= |
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
120 PCRE_JIT=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
121 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
122 USE_OPENSSL=NO |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
123 OPENSSL=NONE |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
124 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
125 USE_MD5=NO |
253
b6793bc5034b
nginx-0.0.2-2004-02-09-10:46:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
126 MD5=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
127 MD5_OPT= |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
128 MD5_ASM=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
129 |
653 | 130 USE_SHA1=NO |
131 SHA1=NONE | |
132 SHA1_OPT= | |
133 SHA1_ASM=NO | |
134 | |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
135 USE_ZLIB=NO |
253
b6793bc5034b
nginx-0.0.2-2004-02-09-10:46:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
136 ZLIB=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
137 ZLIB_OPT= |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
138 ZLIB_ASM=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
139 |
599 | 140 USE_PERL=NO |
141 NGX_PERL=perl | |
142 | |
2139 | 143 USE_LIBXSLT=NO |
2788 | 144 USE_LIBGD=NO |
2139 | 145 |
1949 | 146 NGX_GOOGLE_PERFTOOLS=NO |
2157 | 147 NGX_CPP_TEST=NO |
1949 | 148 |
3363 | 149 NGX_LIBATOMIC=NO |
150 | |
589 | 151 NGX_CPU_CACHE_LINE= |
152 | |
4280
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
153 NGX_POST_CONF_MSG= |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
154 |
2755
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
155 opt= |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
156 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
157 for option |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
158 do |
2872 | 159 opt="$opt `echo $option | sed -e \"s/\(--[^=]*=\)\(.* .*\)/\1'\2'/\"`" |
2755
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
160 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
161 case "$option" in |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
162 -*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
163 *) value="" ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
164 esac |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
165 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
166 case "$option" in |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
167 --help) help=yes ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
168 |
2758 | 169 --prefix=) NGX_PREFIX="!" ;; |
469 | 170 --prefix=*) NGX_PREFIX="$value" ;; |
171 --sbin-path=*) NGX_SBIN_PATH="$value" ;; | |
172 --conf-path=*) NGX_CONF_PATH="$value" ;; | |
173 --error-log-path=*) NGX_ERROR_LOG_PATH="$value";; | |
174 --pid-path=*) NGX_PID_PATH="$value" ;; | |
611 | 175 --lock-path=*) NGX_LOCK_PATH="$value" ;; |
455 | 176 --user=*) NGX_USER="$value" ;; |
177 --group=*) NGX_GROUP="$value" ;; | |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
178 |
469 | 179 --crossbuild=*) NGX_PLATFORM="$value" ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
180 |
455 | 181 --builddir=*) NGX_OBJS="$value" ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
182 |
260
5dacbb4daaf6
nginx-0.0.2-2004-02-17-20:53:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
255
diff
changeset
|
183 --with-rtsig_module) EVENT_RTSIG=YES ;; |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
184 --with-select_module) EVENT_SELECT=YES ;; |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
253
diff
changeset
|
185 --without-select_module) EVENT_SELECT=NONE ;; |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
186 --with-poll_module) EVENT_POLL=YES ;; |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
253
diff
changeset
|
187 --without-poll_module) EVENT_POLL=NONE ;; |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
188 --with-aio_module) EVENT_AIO=YES ;; |
238
674f85a4d00f
nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
216
diff
changeset
|
189 |
1979
278a1d3b4dbf
disable confusing messages about threads
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
190 #--with-threads=*) USE_THREADS="$value" ;; |
278a1d3b4dbf
disable confusing messages about threads
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
191 #--with-threads) USE_THREADS="pthreads" ;; |
266
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
192 |
3052
6060225e9261
FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents:
2991
diff
changeset
|
193 --with-file-aio) NGX_FILE_AIO=YES ;; |
2512
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
194 --with-ipv6) NGX_IPV6=YES ;; |
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
195 |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
196 --without-http) HTTP=NO ;; |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
197 --without-http-cache) HTTP_CACHE=NO ;; |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
198 |
469 | 199 --http-log-path=*) NGX_HTTP_LOG_PATH="$value" ;; |
479 | 200 --http-client-body-temp-path=*) NGX_HTTP_CLIENT_TEMP_PATH="$value" ;; |
201 --http-proxy-temp-path=*) NGX_HTTP_PROXY_TEMP_PATH="$value" ;; | |
202 --http-fastcgi-temp-path=*) NGX_HTTP_FASTCGI_TEMP_PATH="$value" ;; | |
3549
0b3613117ac5
./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents:
3541
diff
changeset
|
203 --http-uwsgi-temp-path=*) NGX_HTTP_UWSGI_TEMP_PATH="$value" ;; |
3637 | 204 --http-scgi-temp-path=*) NGX_HTTP_SCGI_TEMP_PATH="$value" ;; |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
205 |
383
c05876036128
nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents:
368
diff
changeset
|
206 --with-http_ssl_module) HTTP_SSL=YES ;; |
5121
c0f7b94e88ba
Preliminary experimental support for SPDY draft 2.
Valentin Bartenev <vbart@nginx.com>
parents:
5071
diff
changeset
|
207 --with-http_spdy_module) HTTP_SPDY=YES ;; |
573 | 208 --with-http_realip_module) HTTP_REALIP=YES ;; |
629 | 209 --with-http_addition_module) HTTP_ADDITION=YES ;; |
2139 | 210 --with-http_xslt_module) HTTP_XSLT=YES ;; |
2788 | 211 --with-http_image_filter_module) HTTP_IMAGE_FILTER=YES ;; |
2985 | 212 --with-http_geoip_module) HTTP_GEOIP=YES ;; |
1172 | 213 --with-http_sub_module) HTTP_SUB=YES ;; |
633 | 214 --with-http_dav_module) HTTP_DAV=YES ;; |
753 | 215 --with-http_flv_module) HTTP_FLV=YES ;; |
4085 | 216 --with-http_mp4_module) HTTP_MP4=YES ;; |
4837 | 217 --with-http_gunzip_module) HTTP_GUNZIP=YES ;; |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
218 --with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;; |
5329
00bdc9f08a16
Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5121
diff
changeset
|
219 --with-http_auth_request_module) HTTP_AUTH_REQUEST=YES ;; |
2235 | 220 --with-http_random_index_module) HTTP_RANDOM_INDEX=YES ;; |
2260 | 221 --with-http_secure_link_module) HTTP_SECURE_LINK=YES ;; |
3326 | 222 --with-http_degradation_module) HTTP_DEGRADATION=YES ;; |
633 | 223 |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
337
diff
changeset
|
224 --without-http_charset_module) HTTP_CHARSET=NO ;; |
383
c05876036128
nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents:
368
diff
changeset
|
225 --without-http_gzip_module) HTTP_GZIP=NO ;; |
239
574bea0142be
nginx-0.0.1-2004-01-26-11:52:49 import
Igor Sysoev <igor@sysoev.ru>
parents:
238
diff
changeset
|
226 --without-http_ssi_module) HTTP_SSI=NO ;; |
409
8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents:
408
diff
changeset
|
227 --without-http_userid_module) HTTP_USERID=NO ;; |
368
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
228 --without-http_access_module) HTTP_ACCESS=NO ;; |
503 | 229 --without-http_auth_basic_module) HTTP_AUTH_BASIC=NO ;; |
457 | 230 --without-http_autoindex_module) HTTP_AUTOINDEX=NO ;; |
367
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
231 --without-http_status_module) HTTP_STATUS=NO ;; |
485 | 232 --without-http_geo_module) HTTP_GEO=NO ;; |
589 | 233 --without-http_map_module) HTTP_MAP=NO ;; |
3513
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3363
diff
changeset
|
234 --without-http_split_clients_module) HTTP_SPLIT_CLIENTS=NO ;; |
581 | 235 --without-http_referer_module) HTTP_REFERER=NO ;; |
367
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
236 --without-http_rewrite_module) HTTP_REWRITE=NO ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
237 --without-http_proxy_module) HTTP_PROXY=NO ;; |
479 | 238 --without-http_fastcgi_module) HTTP_FASTCGI=NO ;; |
3541
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
239 --without-http_uwsgi_module) HTTP_UWSGI=NO ;; |
3637 | 240 --without-http_scgi_module) HTTP_SCGI=NO ;; |
581 | 241 --without-http_memcached_module) HTTP_MEMCACHED=NO ;; |
4280
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
242 --without-http_limit_zone_module) |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
243 HTTP_LIMIT_CONN=NO |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
244 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
245 $0: warning: the \"--without-http_limit_zone_module\" option is deprecated, \ |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
246 use the \"--without-http_limit_conn_module\" option instead" |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
247 ;; |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
248 --without-http_limit_conn_module) HTTP_LIMIT_CONN=NO ;; |
2294 | 249 --without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;; |
581 | 250 --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;; |
700 | 251 --without-http_browser_module) HTTP_BROWSER=NO ;; |
884 | 252 --without-http_upstream_ip_hash_module) HTTP_UPSTREAM_IP_HASH=NO ;; |
4654
a2ca3a6ee680
Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4412
diff
changeset
|
253 --without-http_upstream_least_conn_module) |
a2ca3a6ee680
Upstream: least_conn balancer module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4412
diff
changeset
|
254 HTTP_UPSTREAM_LEAST_CONN=NO ;; |
4127
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
255 --without-http_upstream_keepalive_module) HTTP_UPSTREAM_KEEPALIVE=NO ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
256 |
599 | 257 --with-http_perl_module) HTTP_PERL=YES ;; |
258 --with-perl_modules_path=*) NGX_PERL_MODULES="$value" ;; | |
259 --with-perl=*) NGX_PERL="$value" ;; | |
260 | |
487 | 261 # STUB |
262 --with-http_stub_status_module) HTTP_STUB_STATUS=YES ;; | |
263 | |
1136 | 264 --with-mail) MAIL=YES ;; |
265 --with-mail_ssl_module) MAIL_SSL=YES ;; | |
266 # STUB | |
267 --with-imap) MAIL=YES ;; | |
268 --with-imap_ssl_module) MAIL_SSL=YES ;; | |
1487
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
269 --without-mail_pop3_module) MAIL_POP3=NO ;; |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
270 --without-mail_imap_module) MAIL_IMAP=NO ;; |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
271 --without-mail_smtp_module) MAIL_SMTP=NO ;; |
417
0526206251f6
nginx-0.0.10-2004-09-07-19:29:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
415
diff
changeset
|
272 |
1949 | 273 --with-google_perftools_module) NGX_GOOGLE_PERFTOOLS=YES ;; |
2172
c31c569708bd
fix ngx_cpp_test_module configure
Igor Sysoev <igor@sysoev.ru>
parents:
2157
diff
changeset
|
274 --with-cpp_test_module) NGX_CPP_TEST=YES ;; |
1949 | 275 |
489 | 276 --add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;; |
467 | 277 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
278 --with-cc=*) CC="$value" ;; |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
279 --with-cpp=*) CPP="$value" ;; |
455 | 280 --with-cc-opt=*) NGX_CC_OPT="$value" ;; |
281 --with-ld-opt=*) NGX_LD_OPT="$value" ;; | |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
282 --with-cpu-opt=*) CPU="$value" ;; |
469 | 283 --with-debug) NGX_DEBUG=YES ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
284 |
264
cd009bf7400d
nginx-0.0.2-2004-02-19-19:48:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
263
diff
changeset
|
285 --without-pcre) USE_PCRE=DISABLED ;; |
2582 | 286 --with-pcre) USE_PCRE=YES ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
287 --with-pcre=*) PCRE="$value" ;; |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
288 --with-pcre-opt=*) PCRE_OPT="$value" ;; |
4388
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
289 --with-pcre-jit) PCRE_JIT=YES ;; |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
290 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
291 --with-openssl=*) OPENSSL="$value" ;; |
501 | 292 --with-openssl-opt=*) OPENSSL_OPT="$value" ;; |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
293 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
294 --with-md5=*) MD5="$value" ;; |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
295 --with-md5-opt=*) MD5_OPT="$value" ;; |
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
296 --with-md5-asm) MD5_ASM=YES ;; |
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
297 |
653 | 298 --with-sha1=*) SHA1="$value" ;; |
299 --with-sha1-opt=*) SHA1_OPT="$value" ;; | |
300 --with-sha1-asm) SHA1_ASM=YES ;; | |
301 | |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
302 --with-zlib=*) ZLIB="$value" ;; |
283
8f65fee68270
nginx-0.0.2-2004-03-10-20:55:19 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
303 --with-zlib-opt=*) ZLIB_OPT="$value" ;; |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
304 --with-zlib-asm=*) ZLIB_ASM="$value" ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
305 |
3363 | 306 --with-libatomic) NGX_LIBATOMIC=YES ;; |
307 --with-libatomic=*) NGX_LIBATOMIC="$value" ;; | |
308 | |
469 | 309 --test-build-devpoll) NGX_TEST_BUILD_DEVPOLL=YES ;; |
719
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
310 --test-build-eventport) NGX_TEST_BUILD_EVENTPORT=YES ;; |
469 | 311 --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;; |
312 --test-build-rtsig) NGX_TEST_BUILD_RTSIG=YES ;; | |
473 | 313 --test-build-solaris-sendfilev) NGX_TEST_BUILD_SOLARIS_SENDFILEV=YES ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
314 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
315 *) |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
316 echo "$0: error: invalid option \"$option\"" |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
317 exit 1 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
318 ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
319 esac |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
320 done |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
321 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
322 |
2755
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
323 NGX_CONFIGURE="$opt" |
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
324 |
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
325 |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
326 if [ $help = yes ]; then |
455 | 327 |
328 cat << END | |
329 | |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
330 --help print this message |
479 | 331 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
332 --prefix=PATH set installation prefix |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
333 --sbin-path=PATH set nginx binary pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
334 --conf-path=PATH set nginx.conf pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
335 --error-log-path=PATH set error log pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
336 --pid-path=PATH set nginx.pid pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
337 --lock-path=PATH set nginx.lock pathname |
479 | 338 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
339 --user=USER set non-privileged user for |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
340 worker processes |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
341 --group=GROUP set non-privileged group for |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
342 worker processes |
479 | 343 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
344 --builddir=DIR set build directory |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
345 |
479 | 346 --with-rtsig_module enable rtsig module |
347 --with-select_module enable select module | |
348 --without-select_module disable select module | |
349 --with-poll_module enable poll module | |
350 --without-poll_module disable poll module | |
455 | 351 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
352 --with-file-aio enable file AIO support |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
353 --with-ipv6 enable IPv6 support |
2512
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
354 |
479 | 355 --with-http_ssl_module enable ngx_http_ssl_module |
5121
c0f7b94e88ba
Preliminary experimental support for SPDY draft 2.
Valentin Bartenev <vbart@nginx.com>
parents:
5071
diff
changeset
|
356 --with-http_spdy_module enable ngx_http_spdy_module |
581 | 357 --with-http_realip_module enable ngx_http_realip_module |
635 | 358 --with-http_addition_module enable ngx_http_addition_module |
2139 | 359 --with-http_xslt_module enable ngx_http_xslt_module |
2793
411653b73d7c
add --with-http_image_filter_module to ./configure --help
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
360 --with-http_image_filter_module enable ngx_http_image_filter_module |
2991 | 361 --with-http_geoip_module enable ngx_http_geoip_module |
1172 | 362 --with-http_sub_module enable ngx_http_sub_module |
635 | 363 --with-http_dav_module enable ngx_http_dav_module |
753 | 364 --with-http_flv_module enable ngx_http_flv_module |
4085 | 365 --with-http_mp4_module enable ngx_http_mp4_module |
4837 | 366 --with-http_gunzip_module enable ngx_http_gunzip_module |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
367 --with-http_gzip_static_module enable ngx_http_gzip_static_module |
5329
00bdc9f08a16
Auth request module import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5121
diff
changeset
|
368 --with-http_auth_request_module enable ngx_http_auth_request_module |
2235 | 369 --with-http_random_index_module enable ngx_http_random_index_module |
2260 | 370 --with-http_secure_link_module enable ngx_http_secure_link_module |
3326 | 371 --with-http_degradation_module enable ngx_http_degradation_module |
1188 | 372 --with-http_stub_status_module enable ngx_http_stub_status_module |
635 | 373 |
479 | 374 --without-http_charset_module disable ngx_http_charset_module |
375 --without-http_gzip_module disable ngx_http_gzip_module | |
501 | 376 --without-http_ssi_module disable ngx_http_ssi_module |
479 | 377 --without-http_userid_module disable ngx_http_userid_module |
378 --without-http_access_module disable ngx_http_access_module | |
503 | 379 --without-http_auth_basic_module disable ngx_http_auth_basic_module |
479 | 380 --without-http_autoindex_module disable ngx_http_autoindex_module |
485 | 381 --without-http_geo_module disable ngx_http_geo_module |
722
0ca72814cb3f
add missing entries to ./configure --help
Igor Sysoev <igor@sysoev.ru>
parents:
719
diff
changeset
|
382 --without-http_map_module disable ngx_http_map_module |
3513
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3363
diff
changeset
|
383 --without-http_split_clients_module disable ngx_http_split_clients_module |
581 | 384 --without-http_referer_module disable ngx_http_referer_module |
479 | 385 --without-http_rewrite_module disable ngx_http_rewrite_module |
386 --without-http_proxy_module disable ngx_http_proxy_module | |
387 --without-http_fastcgi_module disable ngx_http_fastcgi_module | |
3541
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
388 --without-http_uwsgi_module disable ngx_http_uwsgi_module |
3637 | 389 --without-http_scgi_module disable ngx_http_scgi_module |
581 | 390 --without-http_memcached_module disable ngx_http_memcached_module |
4280
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
391 --without-http_limit_conn_module disable ngx_http_limit_conn_module |
2294 | 392 --without-http_limit_req_module disable ngx_http_limit_req_module |
581 | 393 --without-http_empty_gif_module disable ngx_http_empty_gif_module |
722
0ca72814cb3f
add missing entries to ./configure --help
Igor Sysoev <igor@sysoev.ru>
parents:
719
diff
changeset
|
394 --without-http_browser_module disable ngx_http_browser_module |
884 | 395 --without-http_upstream_ip_hash_module |
396 disable ngx_http_upstream_ip_hash_module | |
4865
ca794c55c43f
Configure: help updated to list upstream keepalive and least_conn.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4837
diff
changeset
|
397 --without-http_upstream_least_conn_module |
ca794c55c43f
Configure: help updated to list upstream keepalive and least_conn.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4837
diff
changeset
|
398 disable ngx_http_upstream_least_conn_module |
ca794c55c43f
Configure: help updated to list upstream keepalive and least_conn.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4837
diff
changeset
|
399 --without-http_upstream_keepalive_module |
ca794c55c43f
Configure: help updated to list upstream keepalive and least_conn.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4837
diff
changeset
|
400 disable ngx_http_upstream_keepalive_module |
238
674f85a4d00f
nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
216
diff
changeset
|
401 |
599 | 402 --with-http_perl_module enable ngx_http_perl_module |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
403 --with-perl_modules_path=PATH set Perl modules path |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
404 --with-perl=PATH set perl binary pathname |
599 | 405 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
406 --http-log-path=PATH set http access log pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
407 --http-client-body-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
408 http client request body temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
409 --http-proxy-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
410 http proxy temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
411 --http-fastcgi-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
412 http fastcgi temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
413 --http-uwsgi-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
414 http uwsgi temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
415 --http-scgi-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
416 http scgi temporary files |
479 | 417 |
529 | 418 --without-http disable HTTP server |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
419 --without-http-cache disable HTTP cache |
529 | 420 |
1498
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
421 --with-mail enable POP3/IMAP4/SMTP proxy module |
1136 | 422 --with-mail_ssl_module enable ngx_mail_ssl_module |
1498
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
423 --without-mail_pop3_module disable ngx_mail_pop3_module |
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
424 --without-mail_imap_module disable ngx_mail_imap_module |
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
425 --without-mail_smtp_module disable ngx_mail_smtp_module |
529 | 426 |
1949 | 427 --with-google_perftools_module enable ngx_google_perftools_module |
2157 | 428 --with-cpp_test_module enable ngx_cpp_test_module |
1949 | 429 |
1188 | 430 --add-module=PATH enable an external module |
431 | |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
432 --with-cc=PATH set C compiler pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
433 --with-cpp=PATH set C preprocessor pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
434 --with-cc-opt=OPTIONS set additional C compiler options |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
435 --with-ld-opt=OPTIONS set additional linker options |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
436 --with-cpu-opt=CPU build for the specified CPU, valid values: |
613 | 437 pentium, pentiumpro, pentium3, pentium4, |
438 athlon, opteron, sparc32, sparc64, ppc64 | |
238
674f85a4d00f
nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
216
diff
changeset
|
439 |
2581 | 440 --without-pcre disable PCRE library usage |
2582 | 441 --with-pcre force PCRE library usage |
479 | 442 --with-pcre=DIR set path to PCRE library sources |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
443 --with-pcre-opt=OPTIONS set additional build options for PCRE |
4388
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
444 --with-pcre-jit build PCRE with JIT compilation support |
479 | 445 |
446 --with-md5=DIR set path to md5 library sources | |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
447 --with-md5-opt=OPTIONS set additional build options for md5 |
479 | 448 --with-md5-asm use md5 assembler sources |
238
674f85a4d00f
nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
216
diff
changeset
|
449 |
653 | 450 --with-sha1=DIR set path to sha1 library sources |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
451 --with-sha1-opt=OPTIONS set additional build options for sha1 |
653 | 452 --with-sha1-asm use sha1 assembler sources |
453 | |
479 | 454 --with-zlib=DIR set path to zlib library sources |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
455 --with-zlib-opt=OPTIONS set additional build options for zlib |
479 | 456 --with-zlib-asm=CPU use zlib assembler sources optimized |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
457 for the specified CPU, valid values: |
479 | 458 pentium, pentiumpro |
459 | |
3363 | 460 --with-libatomic force libatomic_ops library usage |
461 --with-libatomic=DIR set path to libatomic_ops library sources | |
462 | |
479 | 463 --with-openssl=DIR set path to OpenSSL library sources |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
464 --with-openssl-opt=OPTIONS set additional build options for OpenSSL |
479 | 465 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
466 --with-debug enable debug logging |
455 | 467 |
468 END | |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
469 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
470 exit 1 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
471 fi |
323
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
472 |
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
473 |
424
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
474 if [ $HTTP = NO ]; then |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
475 HTTP_CHARSET=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
476 HTTP_GZIP=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
477 HTTP_SSI=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
478 HTTP_USERID=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
479 HTTP_ACCESS=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
480 HTTP_STATUS=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
481 HTTP_REWRITE=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
482 HTTP_PROXY=NO |
479 | 483 HTTP_FASTCGI=NO |
424
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
484 fi |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
485 |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
486 |
469 | 487 if [ ".$NGX_PLATFORM" = ".win32" ]; then |
461 | 488 NGX_WINE=$WINE |
323
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
489 fi |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
490 |
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
491 |
2758 | 492 NGX_CONF_PATH=${NGX_CONF_PATH:-conf/nginx.conf} |
1394 | 493 NGX_CONF_PREFIX=`dirname $NGX_CONF_PATH` |
2758 | 494 NGX_PID_PATH=${NGX_PID_PATH:-logs/nginx.pid} |
495 NGX_LOCK_PATH=${NGX_LOCK_PATH:-logs/nginx.lock} | |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
496 |
2758 | 497 if [ ".$NGX_ERROR_LOG_PATH" = ".stderr" ]; then |
498 NGX_ERROR_LOG_PATH= | |
499 else | |
500 NGX_ERROR_LOG_PATH=${NGX_ERROR_LOG_PATH:-logs/error.log} | |
501 fi | |
479 | 502 |
2758 | 503 NGX_HTTP_LOG_PATH=${NGX_HTTP_LOG_PATH:-logs/access.log} |
504 NGX_HTTP_CLIENT_TEMP_PATH=${NGX_HTTP_CLIENT_TEMP_PATH:-client_body_temp} | |
505 NGX_HTTP_PROXY_TEMP_PATH=${NGX_HTTP_PROXY_TEMP_PATH:-proxy_temp} | |
506 NGX_HTTP_FASTCGI_TEMP_PATH=${NGX_HTTP_FASTCGI_TEMP_PATH:-fastcgi_temp} | |
3549
0b3613117ac5
./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents:
3541
diff
changeset
|
507 NGX_HTTP_UWSGI_TEMP_PATH=${NGX_HTTP_UWSGI_TEMP_PATH:-uwsgi_temp} |
3637 | 508 NGX_HTTP_SCGI_TEMP_PATH=${NGX_HTTP_SCGI_TEMP_PATH:-scgi_temp} |
599 | 509 |
510 case ".$NGX_PERL_MODULES" in | |
511 ./*) | |
512 ;; | |
513 | |
514 .) | |
515 ;; | |
516 | |
517 *) | |
518 NGX_PERL_MODULES=$NGX_PREFIX/$NGX_PERL_MODULES | |
519 ;; | |
520 esac |