comparison auto/options @ 28:7ca9bdc82b3f NGINX_0_1_14

nginx 0.1.14 *) Feature: the autoconfiguration directives: --http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and --http-fastcgi-temp-path=PATH *) Change: the directory name for the temporary files with the client request body is specified by directive client_body_temp_path, by default it is <prefix>/client_body_temp. *) Feature: the ngx_http_fastcgi_module and the directives: fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params, fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout, fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers, fastcgi_busy_buffers_size, fastcgi_temp_path, fastcgi_max_temp_file_size, fastcgi_temp_file_write_size, fastcgi_next_upstream, and fastcgi_x_powered_by. *) Bugfix: the "[alert] zero size buf" error; bug appeared in 0.1.3. *) Change: the URI must be specified after the host name in the proxy_pass directive. *) Change: the %3F symbol in the URI was considered as the argument string start. *) Feature: the unix domain sockets support in the ngx_http_proxy_module. *) Feature: the ssl_engine and ssl_ciphers directives. Thanks to Sergey Skvortsov for SSL-accelerator.
author Igor Sysoev <http://sysoev.ru>
date Tue, 18 Jan 2005 00:00:00 +0300
parents 45fe5b98a9de
children aab2ea7c0458
comparison
equal deleted inserted replaced
27:66901c2556fd 28:7ca9bdc82b3f
9 NGX_CONF_PATH= 9 NGX_CONF_PATH=
10 NGX_ERROR_LOG_PATH= 10 NGX_ERROR_LOG_PATH=
11 NGX_PID_PATH= 11 NGX_PID_PATH=
12 NGX_USER= 12 NGX_USER=
13 NGX_GROUP= 13 NGX_GROUP=
14 NGX_HTTP_LOG_PATH=
15 14
16 CC=${CC:-gcc} 15 CC=${CC:-gcc}
17 CPP= 16 CPP=
18 NGX_OBJS=objs 17 NGX_OBJS=objs
19 18
38 EVENT_AIO=NO 37 EVENT_AIO=NO
39 38
40 USE_THREADS=NO 39 USE_THREADS=NO
41 40
42 HTTP=YES 41 HTTP=YES
42
43 NGX_HTTP_LOG_PATH=
44 NGX_HTTP_CLIENT_TEMP_PATH=
45 NGX_HTTP_PROXY_TEMP_PATH=
46 NGX_HTTP_FASTCGI_TEMP_PATH=
47
43 HTTP_CHARSET=YES 48 HTTP_CHARSET=YES
44 HTTP_GZIP=YES 49 HTTP_GZIP=YES
45 HTTP_SSL=NO 50 HTTP_SSL=NO
46 HTTP_SSI=NO 51 HTTP_SSI=NO
47 HTTP_ACCESS=YES 52 HTTP_ACCESS=YES
48 HTTP_USERID=YES 53 HTTP_USERID=YES
49 HTTP_AUTOINDEX=YES 54 HTTP_AUTOINDEX=YES
50 HTTP_STATUS=NO 55 HTTP_STATUS=NO
51 HTTP_REWRITE=YES 56 HTTP_REWRITE=YES
52 HTTP_PROXY=YES 57 HTTP_PROXY=YES
58 HTTP_FASTCGI=YES
53 59
54 IMAP=NO 60 IMAP=NO
55 61
56 NGX_MODULES= 62 NGX_MODULES=
57 63
105 --with-threads=*) USE_THREADS="$value" ;; 111 --with-threads=*) USE_THREADS="$value" ;;
106 --with-threads) USE_THREADS="pthreads" ;; 112 --with-threads) USE_THREADS="pthreads" ;;
107 113
108 --without-http) HTTP=NO ;; 114 --without-http) HTTP=NO ;;
109 --http-log-path=*) NGX_HTTP_LOG_PATH="$value" ;; 115 --http-log-path=*) NGX_HTTP_LOG_PATH="$value" ;;
116 --http-client-body-temp-path=*) NGX_HTTP_CLIENT_TEMP_PATH="$value" ;;
117 --http-proxy-temp-path=*) NGX_HTTP_PROXY_TEMP_PATH="$value" ;;
118 --http-fastcgi-temp-path=*) NGX_HTTP_FASTCGI_TEMP_PATH="$value" ;;
110 119
111 --with-http_ssl_module) HTTP_SSL=YES ;; 120 --with-http_ssl_module) HTTP_SSL=YES ;;
112 --without-http_charset_module) HTTP_CHARSET=NO ;; 121 --without-http_charset_module) HTTP_CHARSET=NO ;;
113 --without-http_gzip_module) HTTP_GZIP=NO ;; 122 --without-http_gzip_module) HTTP_GZIP=NO ;;
114 --without-http_ssi_module) HTTP_SSI=NO ;; 123 --without-http_ssi_module) HTTP_SSI=NO ;;
116 --without-http_access_module) HTTP_ACCESS=NO ;; 125 --without-http_access_module) HTTP_ACCESS=NO ;;
117 --without-http_autoindex_module) HTTP_AUTOINDEX=NO ;; 126 --without-http_autoindex_module) HTTP_AUTOINDEX=NO ;;
118 --without-http_status_module) HTTP_STATUS=NO ;; 127 --without-http_status_module) HTTP_STATUS=NO ;;
119 --without-http_rewrite_module) HTTP_REWRITE=NO ;; 128 --without-http_rewrite_module) HTTP_REWRITE=NO ;;
120 --without-http_proxy_module) HTTP_PROXY=NO ;; 129 --without-http_proxy_module) HTTP_PROXY=NO ;;
130 --without-http_fastcgi_module) HTTP_FASTCGI=NO ;;
121 131
122 --with-imap) IMAP=YES ;; 132 --with-imap) IMAP=YES ;;
123 133
124 --with-module=*) NGX_MODULES="$NGX_MODULES $values" ;; 134 --with-module=*) NGX_MODULES="$NGX_MODULES $values" ;;
125 135
159 169
160 if [ $help = yes ]; then 170 if [ $help = yes ]; then
161 171
162 cat << END 172 cat << END
163 173
164 --help this message 174 --help this message
165 175
166 --user=USER set non-privilege user 176 --prefix=PATH set the installation prefix
167 for the worker processes 177 --sbin-path=PATH set path to the nginx binary file
168 --group=GROUP set non-privilege group 178 --conf-path=PATH set path to the nginx.conf file
169 for the worker processes 179 --error-log-path=PATH set path to the error log
170 180 --pid-path=PATH set path to nginx.pid file
171 --with-select_module enable select module 181
172 --without-select_module disable select module 182 --user=USER set non-privilege user
173 --with-poll_module enable poll module 183 for the worker processes
174 --without-poll_module disable poll module 184 --group=GROUP set non-privilege group
175 185 for the worker processes
176 --without-http_charset_module disable ngx_http_charset_module 186
177 --without-http_rewrite_module disable ngx_http_rewrite_module 187 --builddir=DIR set the build directory
178 --without-http_gzip_module disable ngx_http_gzip_module 188
179 --without-http_proxy_module disable ngx_http_proxy_module 189 --with-rtsig_module enable rtsig module
180 190 --with-select_module enable select module
181 --with-cc-opt=OPTIONS additional options for compiler 191 --without-select_module disable select module
182 --with-ld-opt=OPTIONS additional options for linker 192 --with-poll_module enable poll module
183 193 --without-poll_module disable poll module
184 --with-pcre=DIR path to PCRE library 194
185 --with-md5=DIR path to md5 library 195 --with-http_ssl_module enable ngx_http_ssl_module
186 --with-zlib=DIR path to zlib library 196 --without-http_charset_module disable ngx_http_charset_module
187 --with-openssl=DIR path to OpenSSL library 197 --without-http_gzip_module disable ngx_http_gzip_module
198 --without-http_userid_module disable ngx_http_userid_module
199 --without-http_access_module disable ngx_http_access_module
200 --without-http_autoindex_module disable ngx_http_autoindex_module
201 --without-http_rewrite_module disable ngx_http_rewrite_module
202 --without-http_proxy_module disable ngx_http_proxy_module
203 --without-http_fastcgi_module disable ngx_http_fastcgi_module
204
205 --http-log-path=PATH set path to the http access log
206 --http-client-body-temp-path=PATH set path to the http client request body
207 temporary files path
208 --http-proxy-temp-path=PATH set path to the http proxy temporary
209 files path
210 --http-fastcgi-temp-path=PATH set path to the http fastcgi temporary
211 files path
212
213 --with-cc=PATH set path to C compiler
214 --with-cpp=PATH set path to C preprocessor
215 --with-cc-opt=OPTIONS set additional options for C compiler
216 --with-ld-opt=OPTIONS set additional options for linker
217 --with-cpu-opt=CPU build for specified CPU, the valid values:
218 pentium, pentiumpro, pentium4, sparc64
219
220 --without-pcre disable PCRE libarary usage
221 --with-pcre=DIR set path to PCRE library sources
222 --with-pcre-opt=OPTIONS set additional options for PCRE building
223
224 --with-md5=DIR set path to md5 library sources
225 --with-md5-opt=OPTIONS set additional options for md5 building
226 --with-md5-asm use md5 assembler sources
227
228 --with-zlib=DIR set path to zlib library sources
229 --with-zlib-opt=OPTIONS set additional options for zlib building
230 --with-zlib-asm=CPU use zlib assembler sources optimized
231 for specified CPU, the valid values:
232 pentium, pentiumpro
233
234 --with-openssl=DIR set path to OpenSSL library sources
235
236 --with-debug enable the debugging logging
188 237
189 END 238 END
190 239
191 exit 1 240 exit 1
192 fi 241 fi
199 HTTP_USERID=NO 248 HTTP_USERID=NO
200 HTTP_ACCESS=NO 249 HTTP_ACCESS=NO
201 HTTP_STATUS=NO 250 HTTP_STATUS=NO
202 HTTP_REWRITE=NO 251 HTTP_REWRITE=NO
203 HTTP_PROXY=NO 252 HTTP_PROXY=NO
253 HTTP_FASTCGI=NO
204 fi 254 fi
205 255
206 256
207 if [ ".$NGX_PLATFORM" = ".win32" ]; then 257 if [ ".$NGX_PLATFORM" = ".win32" ]; then
208 NGX_WINE=$WINE 258 NGX_WINE=$WINE
282 332
283 *) 333 *)
284 NGX_HTTP_LOG_PATH=$NGX_PREFIX/$NGX_HTTP_LOG_PATH 334 NGX_HTTP_LOG_PATH=$NGX_PREFIX/$NGX_HTTP_LOG_PATH
285 ;; 335 ;;
286 esac 336 esac
337
338
339 case ".$NGX_HTTP_CLIENT_TEMP_PATH" in
340 ./*)
341 ;;
342
343 .)
344 NGX_HTTP_CLIENT_TEMP_PATH=$NGX_PREFIX/client_body_temp
345 ;;
346
347 *)
348 NGX_HTTP_CLIENT_TEMP_PATH=$NGX_PREFIX/$NGX_HTTP_CLIENT_TEMP_PATH
349 ;;
350 esac
351
352
353 case ".$NGX_HTTP_PROXY_TEMP_PATH" in
354 ./*)
355 ;;
356
357 .)
358 NGX_HTTP_PROXY_TEMP_PATH=$NGX_PREFIX/proxy_temp
359 ;;
360
361 *)
362 NGX_HTTP_PROXY_TEMP_PATH=$NGX_PREFIX/$NGX_HTTP_PROXY_TEMP_PATH
363 ;;
364 esac
365
366
367 case ".$NGX_HTTP_FASTCGI_TEMP_PATH" in
368 ./*)
369 ;;
370
371 .)
372 NGX_HTTP_FASTCGI_TEMP_PATH=$NGX_PREFIX/fastcgi_temp
373 ;;
374
375 *)
376 NGX_HTTP_FASTCGI_TEMP_PATH=$NGX_PREFIX/$NGX_HTTP_FASTCGI_TEMP_PATH
377 ;;
378 esac