Mercurial > hg > nginx-quic
annotate auto/options @ 1804:d457a1576532
several changes in server_name:
*) server_name_in_redirect directive and removal of the '*' stub
*) use server address in redirect if host can not be detected
*) ngx_http_server_addr()
*) allow wildcard and regex names to be a main server_name
*) DAV Destination header is tested against Host header
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 29 Dec 2007 15:30:39 +0000 |
parents | 775edc46ee66 |
children | e5ce4e2de846 |
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 |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
46 HTTP=YES |
479 | 47 |
48 NGX_HTTP_LOG_PATH= | |
49 NGX_HTTP_CLIENT_TEMP_PATH= | |
50 NGX_HTTP_PROXY_TEMP_PATH= | |
51 NGX_HTTP_FASTCGI_TEMP_PATH= | |
52 | |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
337
diff
changeset
|
53 HTTP_CHARSET=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
54 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
|
55 HTTP_SSL=NO |
497 | 56 HTTP_SSI=YES |
509 | 57 HTTP_POSTPONE=NO |
573 | 58 HTTP_REALIP=NO |
1172 | 59 HTTP_SUB=NO |
629 | 60 HTTP_ADDITION=NO |
633 | 61 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
|
62 HTTP_ACCESS=YES |
503 | 63 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
|
64 HTTP_USERID=YES |
457 | 65 HTTP_AUTOINDEX=YES |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
66 HTTP_STATUS=NO |
485 | 67 HTTP_GEO=YES |
589 | 68 HTTP_MAP=YES |
577 | 69 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
|
70 HTTP_REWRITE=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
71 HTTP_PROXY=YES |
479 | 72 HTTP_FASTCGI=YES |
599 | 73 HTTP_PERL=NO |
581 | 74 HTTP_MEMCACHED=YES |
980 | 75 HTTP_LIMIT_ZONE=YES |
577 | 76 HTTP_EMPTY_GIF=YES |
700 | 77 HTTP_BROWSER=YES |
753 | 78 HTTP_FLV=NO |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
79 HTTP_GZIP_STATIC=NO |
884 | 80 HTTP_UPSTREAM_IP_HASH=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
81 |
487 | 82 # STUB |
83 HTTP_STUB_STATUS=NO | |
84 | |
1136 | 85 MAIL=NO |
86 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
|
87 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
|
88 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
|
89 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
|
90 |
489 | 91 NGX_ADDONS= |
467 | 92 |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
253
diff
changeset
|
93 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
|
94 PCRE=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
95 PCRE_OPT= |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
96 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
97 USE_OPENSSL=NO |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
98 OPENSSL=NONE |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
99 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
100 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
|
101 MD5=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
102 MD5_OPT= |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
103 MD5_ASM=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
104 |
653 | 105 USE_SHA1=NO |
106 SHA1=NONE | |
107 SHA1_OPT= | |
108 SHA1_ASM=NO | |
109 | |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
110 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
|
111 ZLIB=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
112 ZLIB_OPT= |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
113 ZLIB_ASM=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
114 |
599 | 115 USE_PERL=NO |
116 NGX_PERL=perl | |
117 | |
589 | 118 NGX_CPU_CACHE_LINE= |
119 | |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
120 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
121 for option |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
122 do |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
123 case "$option" in |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
124 -*=*) 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
|
125 *) value="" ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
126 esac |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
127 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
128 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
|
129 --help) help=yes ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
130 |
469 | 131 --prefix=*) NGX_PREFIX="$value" ;; |
132 --sbin-path=*) NGX_SBIN_PATH="$value" ;; | |
133 --conf-path=*) NGX_CONF_PATH="$value" ;; | |
134 --error-log-path=*) NGX_ERROR_LOG_PATH="$value";; | |
135 --pid-path=*) NGX_PID_PATH="$value" ;; | |
611 | 136 --lock-path=*) NGX_LOCK_PATH="$value" ;; |
455 | 137 --user=*) NGX_USER="$value" ;; |
138 --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
|
139 |
469 | 140 --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
|
141 |
455 | 142 --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
|
143 |
260
5dacbb4daaf6
nginx-0.0.2-2004-02-17-20:53:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
255
diff
changeset
|
144 --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
|
145 --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
|
146 --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
|
147 --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
|
148 --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
|
149 --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
|
150 |
266
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
151 --with-threads=*) USE_THREADS="$value" ;; |
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
152 --with-threads) USE_THREADS="pthreads" ;; |
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
153 |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
154 --without-http) HTTP=NO ;; |
469 | 155 --http-log-path=*) NGX_HTTP_LOG_PATH="$value" ;; |
479 | 156 --http-client-body-temp-path=*) NGX_HTTP_CLIENT_TEMP_PATH="$value" ;; |
157 --http-proxy-temp-path=*) NGX_HTTP_PROXY_TEMP_PATH="$value" ;; | |
158 --http-fastcgi-temp-path=*) NGX_HTTP_FASTCGI_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
|
159 |
383
c05876036128
nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents:
368
diff
changeset
|
160 --with-http_ssl_module) HTTP_SSL=YES ;; |
573 | 161 --with-http_realip_module) HTTP_REALIP=YES ;; |
629 | 162 --with-http_addition_module) HTTP_ADDITION=YES ;; |
1172 | 163 --with-http_sub_module) HTTP_SUB=YES ;; |
633 | 164 --with-http_dav_module) HTTP_DAV=YES ;; |
753 | 165 --with-http_flv_module) HTTP_FLV=YES ;; |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
166 --with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;; |
633 | 167 |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
337
diff
changeset
|
168 --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
|
169 --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
|
170 --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
|
171 --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
|
172 --without-http_access_module) HTTP_ACCESS=NO ;; |
503 | 173 --without-http_auth_basic_module) HTTP_AUTH_BASIC=NO ;; |
457 | 174 --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
|
175 --without-http_status_module) HTTP_STATUS=NO ;; |
485 | 176 --without-http_geo_module) HTTP_GEO=NO ;; |
589 | 177 --without-http_map_module) HTTP_MAP=NO ;; |
581 | 178 --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
|
179 --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
|
180 --without-http_proxy_module) HTTP_PROXY=NO ;; |
479 | 181 --without-http_fastcgi_module) HTTP_FASTCGI=NO ;; |
581 | 182 --without-http_memcached_module) HTTP_MEMCACHED=NO ;; |
980 | 183 --without-http_limit_zone_module) HTTP_LIMIT_ZONE=NO ;; |
581 | 184 --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;; |
700 | 185 --without-http_browser_module) HTTP_BROWSER=NO ;; |
884 | 186 --without-http_upstream_ip_hash_module) HTTP_UPSTREAM_IP_HASH=NO ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
187 |
599 | 188 --with-http_perl_module) HTTP_PERL=YES ;; |
189 --with-perl_modules_path=*) NGX_PERL_MODULES="$value" ;; | |
190 --with-perl=*) NGX_PERL="$value" ;; | |
191 | |
487 | 192 # STUB |
193 --with-http_stub_status_module) HTTP_STUB_STATUS=YES ;; | |
194 | |
1136 | 195 --with-mail) MAIL=YES ;; |
196 --with-mail_ssl_module) MAIL_SSL=YES ;; | |
197 # STUB | |
198 --with-imap) MAIL=YES ;; | |
199 --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
|
200 --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
|
201 --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
|
202 --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
|
203 |
489 | 204 --add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;; |
467 | 205 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
206 --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
|
207 --with-cpp=*) CPP="$value" ;; |
455 | 208 --with-cc-opt=*) NGX_CC_OPT="$value" ;; |
209 --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
|
210 --with-cpu-opt=*) CPU="$value" ;; |
469 | 211 --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
|
212 |
264
cd009bf7400d
nginx-0.0.2-2004-02-19-19:48:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
263
diff
changeset
|
213 --without-pcre) USE_PCRE=DISABLED ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
214 --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
|
215 --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
|
216 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
217 --with-openssl=*) OPENSSL="$value" ;; |
501 | 218 --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
|
219 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
220 --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
|
221 --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
|
222 --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
|
223 |
653 | 224 --with-sha1=*) SHA1="$value" ;; |
225 --with-sha1-opt=*) SHA1_OPT="$value" ;; | |
226 --with-sha1-asm) SHA1_ASM=YES ;; | |
227 | |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
228 --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
|
229 --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
|
230 --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
|
231 |
469 | 232 --test-build-devpoll) NGX_TEST_BUILD_DEVPOLL=YES ;; |
719
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
233 --test-build-eventport) NGX_TEST_BUILD_EVENTPORT=YES ;; |
469 | 234 --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;; |
235 --test-build-rtsig) NGX_TEST_BUILD_RTSIG=YES ;; | |
473 | 236 --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
|
237 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
238 *) |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
239 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
|
240 exit 1 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
241 ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
242 esac |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
243 done |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
244 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
245 |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
246 if [ $help = yes ]; then |
455 | 247 |
248 cat << END | |
249 | |
479 | 250 --help this message |
251 | |
252 --prefix=PATH set the installation prefix | |
253 --sbin-path=PATH set path to the nginx binary file | |
254 --conf-path=PATH set path to the nginx.conf file | |
255 --error-log-path=PATH set path to the error log | |
256 --pid-path=PATH set path to nginx.pid file | |
611 | 257 --lock-path=PATH set path to nginx.lock file |
479 | 258 |
259 --user=USER set non-privilege user | |
260 for the worker processes | |
261 --group=GROUP set non-privilege group | |
262 for the worker processes | |
263 | |
264 --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
|
265 |
479 | 266 --with-rtsig_module enable rtsig module |
267 --with-select_module enable select module | |
268 --without-select_module disable select module | |
269 --with-poll_module enable poll module | |
270 --without-poll_module disable poll module | |
455 | 271 |
479 | 272 --with-http_ssl_module enable ngx_http_ssl_module |
581 | 273 --with-http_realip_module enable ngx_http_realip_module |
635 | 274 --with-http_addition_module enable ngx_http_addition_module |
1172 | 275 --with-http_sub_module enable ngx_http_sub_module |
635 | 276 --with-http_dav_module enable ngx_http_dav_module |
753 | 277 --with-http_flv_module enable ngx_http_flv_module |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
278 --with-http_gzip_static_module enable ngx_http_gzip_static_module |
1188 | 279 --with-http_stub_status_module enable ngx_http_stub_status_module |
635 | 280 |
479 | 281 --without-http_charset_module disable ngx_http_charset_module |
282 --without-http_gzip_module disable ngx_http_gzip_module | |
501 | 283 --without-http_ssi_module disable ngx_http_ssi_module |
479 | 284 --without-http_userid_module disable ngx_http_userid_module |
285 --without-http_access_module disable ngx_http_access_module | |
503 | 286 --without-http_auth_basic_module disable ngx_http_auth_basic_module |
479 | 287 --without-http_autoindex_module disable ngx_http_autoindex_module |
485 | 288 --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
|
289 --without-http_map_module disable ngx_http_map_module |
581 | 290 --without-http_referer_module disable ngx_http_referer_module |
479 | 291 --without-http_rewrite_module disable ngx_http_rewrite_module |
292 --without-http_proxy_module disable ngx_http_proxy_module | |
293 --without-http_fastcgi_module disable ngx_http_fastcgi_module | |
581 | 294 --without-http_memcached_module disable ngx_http_memcached_module |
980 | 295 --without-http_limit_zone_module disable ngx_http_limit_zone_module |
581 | 296 --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
|
297 --without-http_browser_module disable ngx_http_browser_module |
884 | 298 --without-http_upstream_ip_hash_module |
299 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
|
300 |
599 | 301 --with-http_perl_module enable ngx_http_perl_module |
302 --with-perl_modules_path=PATH set path to the perl modules | |
303 --with-perl=PATH set path to the perl binary | |
304 | |
479 | 305 --http-log-path=PATH set path to the http access log |
306 --http-client-body-temp-path=PATH set path to the http client request body | |
635 | 307 temporary files |
308 --http-proxy-temp-path=PATH set path to the http proxy temporary files | |
479 | 309 --http-fastcgi-temp-path=PATH set path to the http fastcgi temporary |
635 | 310 files |
479 | 311 |
529 | 312 --without-http disable HTTP server |
313 | |
1498
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
314 --with-mail enable POP3/IMAP4/SMTP proxy module |
1136 | 315 --with-mail_ssl_module enable ngx_mail_ssl_module |
1498
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
316 --without-mail_pop3_module disable ngx_mail_pop3_module |
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
317 --without-mail_imap_module disable ngx_mail_imap_module |
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
318 --without-mail_smtp_module disable ngx_mail_smtp_module |
529 | 319 |
1188 | 320 --add-module=PATH enable an external module |
321 | |
479 | 322 --with-cc=PATH set path to C compiler |
323 --with-cpp=PATH set path to C preprocessor | |
324 --with-cc-opt=OPTIONS set additional options for C compiler | |
325 --with-ld-opt=OPTIONS set additional options for linker | |
326 --with-cpu-opt=CPU build for specified CPU, the valid values: | |
613 | 327 pentium, pentiumpro, pentium3, pentium4, |
328 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
|
329 |
479 | 330 --without-pcre disable PCRE libarary usage |
331 --with-pcre=DIR set path to PCRE library sources | |
332 --with-pcre-opt=OPTIONS set additional options for PCRE building | |
333 | |
334 --with-md5=DIR set path to md5 library sources | |
335 --with-md5-opt=OPTIONS set additional options for md5 building | |
336 --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
|
337 |
653 | 338 --with-sha1=DIR set path to sha1 library sources |
339 --with-sha1-opt=OPTIONS set additional options for sha1 building | |
340 --with-sha1-asm use sha1 assembler sources | |
341 | |
479 | 342 --with-zlib=DIR set path to zlib library sources |
343 --with-zlib-opt=OPTIONS set additional options for zlib building | |
344 --with-zlib-asm=CPU use zlib assembler sources optimized | |
345 for specified CPU, the valid values: | |
346 pentium, pentiumpro | |
347 | |
348 --with-openssl=DIR set path to OpenSSL library sources | |
501 | 349 --with-openssl-opt=OPTIONS set additional options for OpenSSL building |
479 | 350 |
351 --with-debug enable the debugging logging | |
455 | 352 |
353 END | |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
354 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
355 exit 1 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
356 fi |
323
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
357 |
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
358 |
424
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
359 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
|
360 HTTP_CHARSET=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
361 HTTP_GZIP=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
362 HTTP_SSI=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
363 HTTP_USERID=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
364 HTTP_ACCESS=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
365 HTTP_STATUS=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
366 HTTP_REWRITE=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
367 HTTP_PROXY=NO |
479 | 368 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
|
369 fi |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
370 |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
371 |
469 | 372 if [ ".$NGX_PLATFORM" = ".win32" ]; then |
461 | 373 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
|
374 fi |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
375 |
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
376 |
477 | 377 NGX_PREFIX=${NGX_PREFIX:-/usr/local/nginx} |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
378 |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
379 |
469 | 380 case ".$NGX_SBIN_PATH" in |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
381 ./*) |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
382 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
383 |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
384 .) |
469 | 385 NGX_SBIN_PATH=$NGX_PREFIX/sbin/nginx |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
386 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
387 |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
388 *) |
469 | 389 NGX_SBIN_PATH=$NGX_PREFIX/$NGX_SBIN_PATH |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
390 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
391 esac |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
392 |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
393 |
469 | 394 case ".$NGX_CONF_PATH" in |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
395 ./*) |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
396 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
397 |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
398 .) |
1394 | 399 NGX_CONF_PATH=$NGX_PREFIX/conf/nginx.conf |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
400 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
401 |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
402 *) |
1394 | 403 NGX_CONF_PATH=$NGX_PREFIX/$NGX_CONF_PATH |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
404 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
405 esac |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
406 |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
407 |
1394 | 408 NGX_CONF_PREFIX=`dirname $NGX_CONF_PATH` |
409 | |
410 | |
469 | 411 case ".$NGX_PID_PATH" in |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
412 ./*) |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
413 ;; |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
414 |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
415 .) |
469 | 416 NGX_PID_PATH=$NGX_PREFIX/logs/nginx.pid |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
417 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
418 |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
419 *) |
469 | 420 NGX_PID_PATH=$NGX_PREFIX/$NGX_PID_PATH |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
421 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
422 esac |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
423 |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
424 |
611 | 425 case ".$NGX_LOCK_PATH" in |
426 ./*) | |
427 ;; | |
428 | |
429 .) | |
430 NGX_LOCK_PATH=$NGX_PREFIX/logs/nginx.lock | |
431 ;; | |
432 | |
433 *) | |
434 NGX_LOCK_PATH=$NGX_PREFIX/$NGX_LOCK_PATH | |
435 ;; | |
436 esac | |
437 | |
438 | |
469 | 439 case ".$NGX_ERROR_LOG_PATH" in |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
440 ./*) |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
441 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
442 |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
443 .) |
469 | 444 NGX_ERROR_LOG_PATH=$NGX_PREFIX/logs/error.log |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
445 ;; |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
446 |
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
|
447 .stderr) |
469 | 448 NGX_ERROR_LOG_PATH= |
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
|
449 ;; |
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
|
450 |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
451 *) |
469 | 452 NGX_ERROR_LOG_PATH=$NGX_PREFIX/$NGX_ERROR_LOG_PATH |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
453 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
454 esac |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
455 |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
456 |
469 | 457 case ".$NGX_HTTP_LOG_PATH" in |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
458 ./*) |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
459 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
460 |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
461 .) |
469 | 462 NGX_HTTP_LOG_PATH=$NGX_PREFIX/logs/access.log |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
463 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
464 |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
465 *) |
469 | 466 NGX_HTTP_LOG_PATH=$NGX_PREFIX/$NGX_HTTP_LOG_PATH |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
467 ;; |
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
468 esac |
479 | 469 |
470 | |
471 case ".$NGX_HTTP_CLIENT_TEMP_PATH" in | |
472 ./*) | |
473 ;; | |
474 | |
475 .) | |
476 NGX_HTTP_CLIENT_TEMP_PATH=$NGX_PREFIX/client_body_temp | |
477 ;; | |
478 | |
479 *) | |
480 NGX_HTTP_CLIENT_TEMP_PATH=$NGX_PREFIX/$NGX_HTTP_CLIENT_TEMP_PATH | |
481 ;; | |
482 esac | |
483 | |
484 | |
485 case ".$NGX_HTTP_PROXY_TEMP_PATH" in | |
486 ./*) | |
487 ;; | |
488 | |
489 .) | |
490 NGX_HTTP_PROXY_TEMP_PATH=$NGX_PREFIX/proxy_temp | |
491 ;; | |
492 | |
493 *) | |
494 NGX_HTTP_PROXY_TEMP_PATH=$NGX_PREFIX/$NGX_HTTP_PROXY_TEMP_PATH | |
495 ;; | |
496 esac | |
497 | |
498 | |
499 case ".$NGX_HTTP_FASTCGI_TEMP_PATH" in | |
500 ./*) | |
501 ;; | |
502 | |
503 .) | |
504 NGX_HTTP_FASTCGI_TEMP_PATH=$NGX_PREFIX/fastcgi_temp | |
505 ;; | |
506 | |
507 *) | |
508 NGX_HTTP_FASTCGI_TEMP_PATH=$NGX_PREFIX/$NGX_HTTP_FASTCGI_TEMP_PATH | |
509 ;; | |
510 esac | |
599 | 511 |
512 | |
513 case ".$NGX_PERL_MODULES" in | |
514 ./*) | |
515 ;; | |
516 | |
517 .) | |
518 ;; | |
519 | |
520 *) | |
521 NGX_PERL_MODULES=$NGX_PREFIX/$NGX_PERL_MODULES | |
522 ;; | |
523 esac |