Mercurial > hg > nginx-quic
annotate auto/options @ 4207:4fc91bae6f83
Better recheck of dead upstream servers.
Previously nginx used to mark backend again as live as soon as fail_timeout
passes (10s by default) since last failure. On the other hand, detecting
dead backend takes up to 60s (proxy_connect_timeout) in typical situation
"backend is down and doesn't respond to any packets". This resulted in
suboptimal behaviour in the above situation (up to 23% of requests were
directed to dead backend with default settings).
More detailed description of the problem may be found here (in Russian):
http://mailman.nginx.org/pipermail/nginx-ru/2011-August/042172.html
Fix is to only allow one request after fail_timeout passes, and
mark backend as "live" only if this request succeeds.
Note that with new code backend will not be marked "live" unless "check"
request is completed, and this may take a while in some specific workloads
(e.g. streaming). This is believed to be acceptable.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 12 Oct 2011 14:22:48 +0000 |
parents | b2e21a39307c |
children | bd4abbf41e49 |
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 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
3 |
455 | 4 |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
5 help=no |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
6 |
469 | 7 NGX_PREFIX= |
8 NGX_SBIN_PATH= | |
1352 | 9 NGX_CONF_PREFIX= |
469 | 10 NGX_CONF_PATH= |
11 NGX_ERROR_LOG_PATH= | |
12 NGX_PID_PATH= | |
611 | 13 NGX_LOCK_PATH= |
455 | 14 NGX_USER= |
15 NGX_GROUP= | |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
16 |
455 | 17 CC=${CC:-gcc} |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
18 CPP= |
455 | 19 NGX_OBJS=objs |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
20 |
469 | 21 NGX_DEBUG=NO |
455 | 22 NGX_CC_OPT= |
23 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
|
24 CPU=NO |
283
8f65fee68270
nginx-0.0.2-2004-03-10-20:55:19 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
25 |
1490 | 26 NGX_RPATH=NO |
27 | |
469 | 28 NGX_TEST_BUILD_DEVPOLL=NO |
719
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
29 NGX_TEST_BUILD_EVENTPORT=NO |
469 | 30 NGX_TEST_BUILD_EPOLL=NO |
31 NGX_TEST_BUILD_RTSIG=NO | |
473 | 32 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
|
33 |
469 | 34 NGX_PLATFORM= |
461 | 35 NGX_WINE= |
36 | |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
37 EVENT_FOUND=NO |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
38 |
260
5dacbb4daaf6
nginx-0.0.2-2004-02-17-20:53:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
255
diff
changeset
|
39 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
|
40 EVENT_SELECT=NO |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
41 EVENT_POLL=NO |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
42 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
|
43 |
266
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
44 USE_THREADS=NO |
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
45 |
3052
6060225e9261
FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents:
2991
diff
changeset
|
46 NGX_FILE_AIO=NO |
2512
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
47 NGX_IPV6=NO |
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
48 |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
49 HTTP=YES |
479 | 50 |
51 NGX_HTTP_LOG_PATH= | |
52 NGX_HTTP_CLIENT_TEMP_PATH= | |
53 NGX_HTTP_PROXY_TEMP_PATH= | |
54 NGX_HTTP_FASTCGI_TEMP_PATH= | |
3549
0b3613117ac5
./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents:
3541
diff
changeset
|
55 NGX_HTTP_UWSGI_TEMP_PATH= |
3637 | 56 NGX_HTTP_SCGI_TEMP_PATH= |
479 | 57 |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
58 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
|
59 HTTP_CHARSET=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
60 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
|
61 HTTP_SSL=NO |
497 | 62 HTTP_SSI=YES |
509 | 63 HTTP_POSTPONE=NO |
573 | 64 HTTP_REALIP=NO |
2139 | 65 HTTP_XSLT=NO |
2788 | 66 HTTP_IMAGE_FILTER=NO |
1172 | 67 HTTP_SUB=NO |
629 | 68 HTTP_ADDITION=NO |
633 | 69 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
|
70 HTTP_ACCESS=YES |
503 | 71 HTTP_AUTH_BASIC=YES |
408
d6e2b445c1b8
nginx-0.0.10-2004-08-27-19:40:59 import
Igor Sysoev <igor@sysoev.ru>
parents:
399
diff
changeset
|
72 HTTP_USERID=YES |
457 | 73 HTTP_AUTOINDEX=YES |
2235 | 74 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
|
75 HTTP_STATUS=NO |
485 | 76 HTTP_GEO=YES |
2985 | 77 HTTP_GEOIP=NO |
589 | 78 HTTP_MAP=YES |
3513
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3363
diff
changeset
|
79 HTTP_SPLIT_CLIENTS=YES |
577 | 80 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
|
81 HTTP_REWRITE=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
82 HTTP_PROXY=YES |
479 | 83 HTTP_FASTCGI=YES |
3541
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
84 HTTP_UWSGI=YES |
3637 | 85 HTTP_SCGI=YES |
599 | 86 HTTP_PERL=NO |
581 | 87 HTTP_MEMCACHED=YES |
980 | 88 HTTP_LIMIT_ZONE=YES |
2294 | 89 HTTP_LIMIT_REQ=YES |
577 | 90 HTTP_EMPTY_GIF=YES |
700 | 91 HTTP_BROWSER=YES |
2260 | 92 HTTP_SECURE_LINK=NO |
3326 | 93 HTTP_DEGRADATION=NO |
753 | 94 HTTP_FLV=NO |
4085 | 95 HTTP_MP4=NO |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
96 HTTP_GZIP_STATIC=NO |
884 | 97 HTTP_UPSTREAM_IP_HASH=YES |
4127
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
98 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
|
99 |
487 | 100 # STUB |
101 HTTP_STUB_STATUS=NO | |
102 | |
1136 | 103 MAIL=NO |
104 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
|
105 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
|
106 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
|
107 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
|
108 |
489 | 109 NGX_ADDONS= |
467 | 110 |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
253
diff
changeset
|
111 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
|
112 PCRE=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
113 PCRE_OPT= |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
114 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
115 USE_OPENSSL=NO |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
116 OPENSSL=NONE |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
117 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
118 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
|
119 MD5=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
120 MD5_OPT= |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
121 MD5_ASM=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
122 |
653 | 123 USE_SHA1=NO |
124 SHA1=NONE | |
125 SHA1_OPT= | |
126 SHA1_ASM=NO | |
127 | |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
128 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
|
129 ZLIB=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
130 ZLIB_OPT= |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
131 ZLIB_ASM=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
132 |
599 | 133 USE_PERL=NO |
134 NGX_PERL=perl | |
135 | |
2139 | 136 USE_LIBXSLT=NO |
2788 | 137 USE_LIBGD=NO |
2139 | 138 |
1949 | 139 NGX_GOOGLE_PERFTOOLS=NO |
2157 | 140 NGX_CPP_TEST=NO |
1949 | 141 |
3363 | 142 NGX_LIBATOMIC=NO |
143 | |
589 | 144 NGX_CPU_CACHE_LINE= |
145 | |
2755
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
146 opt= |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
147 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
148 for option |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
149 do |
2872 | 150 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
|
151 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
152 case "$option" in |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
153 -*=*) 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
|
154 *) value="" ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
155 esac |
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 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
|
158 --help) help=yes ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
159 |
2758 | 160 --prefix=) NGX_PREFIX="!" ;; |
469 | 161 --prefix=*) NGX_PREFIX="$value" ;; |
162 --sbin-path=*) NGX_SBIN_PATH="$value" ;; | |
163 --conf-path=*) NGX_CONF_PATH="$value" ;; | |
164 --error-log-path=*) NGX_ERROR_LOG_PATH="$value";; | |
165 --pid-path=*) NGX_PID_PATH="$value" ;; | |
611 | 166 --lock-path=*) NGX_LOCK_PATH="$value" ;; |
455 | 167 --user=*) NGX_USER="$value" ;; |
168 --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
|
169 |
469 | 170 --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
|
171 |
455 | 172 --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
|
173 |
260
5dacbb4daaf6
nginx-0.0.2-2004-02-17-20:53:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
255
diff
changeset
|
174 --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
|
175 --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
|
176 --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
|
177 --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
|
178 --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
|
179 --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
|
180 |
1979
278a1d3b4dbf
disable confusing messages about threads
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
181 #--with-threads=*) USE_THREADS="$value" ;; |
278a1d3b4dbf
disable confusing messages about threads
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
182 #--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
|
183 |
3052
6060225e9261
FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents:
2991
diff
changeset
|
184 --with-file-aio) NGX_FILE_AIO=YES ;; |
2512
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
185 --with-ipv6) NGX_IPV6=YES ;; |
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
186 |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
187 --without-http) HTTP=NO ;; |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
188 --without-http-cache) HTTP_CACHE=NO ;; |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
189 |
469 | 190 --http-log-path=*) NGX_HTTP_LOG_PATH="$value" ;; |
479 | 191 --http-client-body-temp-path=*) NGX_HTTP_CLIENT_TEMP_PATH="$value" ;; |
192 --http-proxy-temp-path=*) NGX_HTTP_PROXY_TEMP_PATH="$value" ;; | |
193 --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
|
194 --http-uwsgi-temp-path=*) NGX_HTTP_UWSGI_TEMP_PATH="$value" ;; |
3637 | 195 --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
|
196 |
383
c05876036128
nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents:
368
diff
changeset
|
197 --with-http_ssl_module) HTTP_SSL=YES ;; |
573 | 198 --with-http_realip_module) HTTP_REALIP=YES ;; |
629 | 199 --with-http_addition_module) HTTP_ADDITION=YES ;; |
2139 | 200 --with-http_xslt_module) HTTP_XSLT=YES ;; |
2788 | 201 --with-http_image_filter_module) HTTP_IMAGE_FILTER=YES ;; |
2985 | 202 --with-http_geoip_module) HTTP_GEOIP=YES ;; |
1172 | 203 --with-http_sub_module) HTTP_SUB=YES ;; |
633 | 204 --with-http_dav_module) HTTP_DAV=YES ;; |
753 | 205 --with-http_flv_module) HTTP_FLV=YES ;; |
4085 | 206 --with-http_mp4_module) HTTP_MP4=YES ;; |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
207 --with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;; |
2235 | 208 --with-http_random_index_module) HTTP_RANDOM_INDEX=YES ;; |
2260 | 209 --with-http_secure_link_module) HTTP_SECURE_LINK=YES ;; |
3326 | 210 --with-http_degradation_module) HTTP_DEGRADATION=YES ;; |
633 | 211 |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
337
diff
changeset
|
212 --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
|
213 --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
|
214 --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
|
215 --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
|
216 --without-http_access_module) HTTP_ACCESS=NO ;; |
503 | 217 --without-http_auth_basic_module) HTTP_AUTH_BASIC=NO ;; |
457 | 218 --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
|
219 --without-http_status_module) HTTP_STATUS=NO ;; |
485 | 220 --without-http_geo_module) HTTP_GEO=NO ;; |
589 | 221 --without-http_map_module) HTTP_MAP=NO ;; |
3513
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3363
diff
changeset
|
222 --without-http_split_clients_module) HTTP_SPLIT_CLIENTS=NO ;; |
581 | 223 --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
|
224 --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
|
225 --without-http_proxy_module) HTTP_PROXY=NO ;; |
479 | 226 --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
|
227 --without-http_uwsgi_module) HTTP_UWSGI=NO ;; |
3637 | 228 --without-http_scgi_module) HTTP_SCGI=NO ;; |
581 | 229 --without-http_memcached_module) HTTP_MEMCACHED=NO ;; |
980 | 230 --without-http_limit_zone_module) HTTP_LIMIT_ZONE=NO ;; |
2294 | 231 --without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;; |
581 | 232 --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;; |
700 | 233 --without-http_browser_module) HTTP_BROWSER=NO ;; |
884 | 234 --without-http_upstream_ip_hash_module) HTTP_UPSTREAM_IP_HASH=NO ;; |
4127
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
235 --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
|
236 |
599 | 237 --with-http_perl_module) HTTP_PERL=YES ;; |
238 --with-perl_modules_path=*) NGX_PERL_MODULES="$value" ;; | |
239 --with-perl=*) NGX_PERL="$value" ;; | |
240 | |
487 | 241 # STUB |
242 --with-http_stub_status_module) HTTP_STUB_STATUS=YES ;; | |
243 | |
1136 | 244 --with-mail) MAIL=YES ;; |
245 --with-mail_ssl_module) MAIL_SSL=YES ;; | |
246 # STUB | |
247 --with-imap) MAIL=YES ;; | |
248 --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
|
249 --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
|
250 --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
|
251 --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
|
252 |
1949 | 253 --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
|
254 --with-cpp_test_module) NGX_CPP_TEST=YES ;; |
1949 | 255 |
489 | 256 --add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;; |
467 | 257 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
258 --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
|
259 --with-cpp=*) CPP="$value" ;; |
455 | 260 --with-cc-opt=*) NGX_CC_OPT="$value" ;; |
261 --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
|
262 --with-cpu-opt=*) CPU="$value" ;; |
469 | 263 --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
|
264 |
264
cd009bf7400d
nginx-0.0.2-2004-02-19-19:48:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
263
diff
changeset
|
265 --without-pcre) USE_PCRE=DISABLED ;; |
2582 | 266 --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
|
267 --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
|
268 --with-pcre-opt=*) PCRE_OPT="$value" ;; |
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
269 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
270 --with-openssl=*) OPENSSL="$value" ;; |
501 | 271 --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
|
272 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
273 --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
|
274 --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
|
275 --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
|
276 |
653 | 277 --with-sha1=*) SHA1="$value" ;; |
278 --with-sha1-opt=*) SHA1_OPT="$value" ;; | |
279 --with-sha1-asm) SHA1_ASM=YES ;; | |
280 | |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
281 --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
|
282 --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
|
283 --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
|
284 |
3363 | 285 --with-libatomic) NGX_LIBATOMIC=YES ;; |
286 --with-libatomic=*) NGX_LIBATOMIC="$value" ;; | |
287 | |
469 | 288 --test-build-devpoll) NGX_TEST_BUILD_DEVPOLL=YES ;; |
719
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
289 --test-build-eventport) NGX_TEST_BUILD_EVENTPORT=YES ;; |
469 | 290 --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;; |
291 --test-build-rtsig) NGX_TEST_BUILD_RTSIG=YES ;; | |
473 | 292 --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
|
293 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
294 *) |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
295 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
|
296 exit 1 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
297 ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
298 esac |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
299 done |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
300 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
301 |
2755
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
302 NGX_CONFIGURE="$opt" |
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
303 |
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
304 |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
305 if [ $help = yes ]; then |
455 | 306 |
307 cat << END | |
308 | |
479 | 309 --help this message |
310 | |
311 --prefix=PATH set the installation prefix | |
312 --sbin-path=PATH set path to the nginx binary file | |
313 --conf-path=PATH set path to the nginx.conf file | |
314 --error-log-path=PATH set path to the error log | |
315 --pid-path=PATH set path to nginx.pid file | |
611 | 316 --lock-path=PATH set path to nginx.lock file |
479 | 317 |
318 --user=USER set non-privilege user | |
319 for the worker processes | |
320 --group=GROUP set non-privilege group | |
321 for the worker processes | |
322 | |
323 --builddir=DIR set the build directory | |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
324 |
479 | 325 --with-rtsig_module enable rtsig module |
326 --with-select_module enable select module | |
327 --without-select_module disable select module | |
328 --with-poll_module enable poll module | |
329 --without-poll_module disable poll module | |
455 | 330 |
3052
6060225e9261
FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents:
2991
diff
changeset
|
331 --with-file-aio enable file aio support |
2512
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
332 --with-ipv6 enable ipv6 support |
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
333 |
479 | 334 --with-http_ssl_module enable ngx_http_ssl_module |
581 | 335 --with-http_realip_module enable ngx_http_realip_module |
635 | 336 --with-http_addition_module enable ngx_http_addition_module |
2139 | 337 --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
|
338 --with-http_image_filter_module enable ngx_http_image_filter_module |
2991 | 339 --with-http_geoip_module enable ngx_http_geoip_module |
1172 | 340 --with-http_sub_module enable ngx_http_sub_module |
635 | 341 --with-http_dav_module enable ngx_http_dav_module |
753 | 342 --with-http_flv_module enable ngx_http_flv_module |
4085 | 343 --with-http_mp4_module enable ngx_http_mp4_module |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
344 --with-http_gzip_static_module enable ngx_http_gzip_static_module |
2235 | 345 --with-http_random_index_module enable ngx_http_random_index_module |
2260 | 346 --with-http_secure_link_module enable ngx_http_secure_link_module |
3326 | 347 --with-http_degradation_module enable ngx_http_degradation_module |
1188 | 348 --with-http_stub_status_module enable ngx_http_stub_status_module |
635 | 349 |
479 | 350 --without-http_charset_module disable ngx_http_charset_module |
351 --without-http_gzip_module disable ngx_http_gzip_module | |
501 | 352 --without-http_ssi_module disable ngx_http_ssi_module |
479 | 353 --without-http_userid_module disable ngx_http_userid_module |
354 --without-http_access_module disable ngx_http_access_module | |
503 | 355 --without-http_auth_basic_module disable ngx_http_auth_basic_module |
479 | 356 --without-http_autoindex_module disable ngx_http_autoindex_module |
485 | 357 --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
|
358 --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
|
359 --without-http_split_clients_module disable ngx_http_split_clients_module |
581 | 360 --without-http_referer_module disable ngx_http_referer_module |
479 | 361 --without-http_rewrite_module disable ngx_http_rewrite_module |
362 --without-http_proxy_module disable ngx_http_proxy_module | |
363 --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
|
364 --without-http_uwsgi_module disable ngx_http_uwsgi_module |
3637 | 365 --without-http_scgi_module disable ngx_http_scgi_module |
581 | 366 --without-http_memcached_module disable ngx_http_memcached_module |
980 | 367 --without-http_limit_zone_module disable ngx_http_limit_zone_module |
2294 | 368 --without-http_limit_req_module disable ngx_http_limit_req_module |
581 | 369 --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
|
370 --without-http_browser_module disable ngx_http_browser_module |
884 | 371 --without-http_upstream_ip_hash_module |
372 disable ngx_http_upstream_ip_hash_module | |
238
674f85a4d00f
nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
216
diff
changeset
|
373 |
599 | 374 --with-http_perl_module enable ngx_http_perl_module |
375 --with-perl_modules_path=PATH set path to the perl modules | |
376 --with-perl=PATH set path to the perl binary | |
377 | |
479 | 378 --http-log-path=PATH set path to the http access log |
379 --http-client-body-temp-path=PATH set path to the http client request body | |
635 | 380 temporary files |
381 --http-proxy-temp-path=PATH set path to the http proxy temporary files | |
479 | 382 --http-fastcgi-temp-path=PATH set path to the http fastcgi temporary |
635 | 383 files |
3549
0b3613117ac5
./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents:
3541
diff
changeset
|
384 --http-uwsgi-temp-path=PATH set path to the http uwsgi temporary files |
3637 | 385 --http-scgi-temp-path=PATH set path to the http scgi temporary files |
479 | 386 |
529 | 387 --without-http disable HTTP server |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
388 --without-http-cache disable HTTP cache |
529 | 389 |
1498
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
390 --with-mail enable POP3/IMAP4/SMTP proxy module |
1136 | 391 --with-mail_ssl_module enable ngx_mail_ssl_module |
1498
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
392 --without-mail_pop3_module disable ngx_mail_pop3_module |
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
393 --without-mail_imap_module disable ngx_mail_imap_module |
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
394 --without-mail_smtp_module disable ngx_mail_smtp_module |
529 | 395 |
1949 | 396 --with-google_perftools_module enable ngx_google_perftools_module |
2157 | 397 --with-cpp_test_module enable ngx_cpp_test_module |
1949 | 398 |
1188 | 399 --add-module=PATH enable an external module |
400 | |
479 | 401 --with-cc=PATH set path to C compiler |
402 --with-cpp=PATH set path to C preprocessor | |
403 --with-cc-opt=OPTIONS set additional options for C compiler | |
404 --with-ld-opt=OPTIONS set additional options for linker | |
405 --with-cpu-opt=CPU build for specified CPU, the valid values: | |
613 | 406 pentium, pentiumpro, pentium3, pentium4, |
407 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
|
408 |
2581 | 409 --without-pcre disable PCRE library usage |
2582 | 410 --with-pcre force PCRE library usage |
479 | 411 --with-pcre=DIR set path to PCRE library sources |
412 --with-pcre-opt=OPTIONS set additional options for PCRE building | |
413 | |
414 --with-md5=DIR set path to md5 library sources | |
415 --with-md5-opt=OPTIONS set additional options for md5 building | |
416 --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
|
417 |
653 | 418 --with-sha1=DIR set path to sha1 library sources |
419 --with-sha1-opt=OPTIONS set additional options for sha1 building | |
420 --with-sha1-asm use sha1 assembler sources | |
421 | |
479 | 422 --with-zlib=DIR set path to zlib library sources |
423 --with-zlib-opt=OPTIONS set additional options for zlib building | |
424 --with-zlib-asm=CPU use zlib assembler sources optimized | |
425 for specified CPU, the valid values: | |
426 pentium, pentiumpro | |
427 | |
3363 | 428 --with-libatomic force libatomic_ops library usage |
429 --with-libatomic=DIR set path to libatomic_ops library sources | |
430 | |
479 | 431 --with-openssl=DIR set path to OpenSSL library sources |
501 | 432 --with-openssl-opt=OPTIONS set additional options for OpenSSL building |
479 | 433 |
434 --with-debug enable the debugging logging | |
455 | 435 |
436 END | |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
437 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
438 exit 1 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
439 fi |
323
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
440 |
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
441 |
424
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
442 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
|
443 HTTP_CHARSET=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
444 HTTP_GZIP=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
445 HTTP_SSI=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
446 HTTP_USERID=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
447 HTTP_ACCESS=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
448 HTTP_STATUS=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
449 HTTP_REWRITE=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
450 HTTP_PROXY=NO |
479 | 451 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
|
452 fi |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
453 |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
454 |
469 | 455 if [ ".$NGX_PLATFORM" = ".win32" ]; then |
461 | 456 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
|
457 fi |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
458 |
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
459 |
2758 | 460 NGX_CONF_PATH=${NGX_CONF_PATH:-conf/nginx.conf} |
1394 | 461 NGX_CONF_PREFIX=`dirname $NGX_CONF_PATH` |
2758 | 462 NGX_PID_PATH=${NGX_PID_PATH:-logs/nginx.pid} |
463 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
|
464 |
2758 | 465 if [ ".$NGX_ERROR_LOG_PATH" = ".stderr" ]; then |
466 NGX_ERROR_LOG_PATH= | |
467 else | |
468 NGX_ERROR_LOG_PATH=${NGX_ERROR_LOG_PATH:-logs/error.log} | |
469 fi | |
479 | 470 |
2758 | 471 NGX_HTTP_LOG_PATH=${NGX_HTTP_LOG_PATH:-logs/access.log} |
472 NGX_HTTP_CLIENT_TEMP_PATH=${NGX_HTTP_CLIENT_TEMP_PATH:-client_body_temp} | |
473 NGX_HTTP_PROXY_TEMP_PATH=${NGX_HTTP_PROXY_TEMP_PATH:-proxy_temp} | |
474 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
|
475 NGX_HTTP_UWSGI_TEMP_PATH=${NGX_HTTP_UWSGI_TEMP_PATH:-uwsgi_temp} |
3637 | 476 NGX_HTTP_SCGI_TEMP_PATH=${NGX_HTTP_SCGI_TEMP_PATH:-scgi_temp} |
599 | 477 |
478 case ".$NGX_PERL_MODULES" in | |
479 ./*) | |
480 ;; | |
481 | |
482 .) | |
483 ;; | |
484 | |
485 *) | |
486 NGX_PERL_MODULES=$NGX_PREFIX/$NGX_PERL_MODULES | |
487 ;; | |
488 esac |