]> git.kaiwu.me - nginx.git/commitdiff
./configure --http-uwsgi-temp-path=PATH
authorIgor Sysoev <igor@sysoev.ru>
Tue, 1 Jun 2010 17:44:51 +0000 (17:44 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 1 Jun 2010 17:44:51 +0000 (17:44 +0000)
auto/configure
auto/options
auto/summary
src/http/modules/ngx_http_uwsgi_module.c

index 5e9c262bdcc7037f4e45ff1e38b90ad6c68481bd..2c610ab62f077d8f03c96a97723f053445bb3fcb 100755 (executable)
@@ -90,6 +90,8 @@ have=NGX_HTTP_PROXY_TEMP_PATH value="\"$NGX_HTTP_PROXY_TEMP_PATH\""
 . auto/define
 have=NGX_HTTP_FASTCGI_TEMP_PATH value="\"$NGX_HTTP_FASTCGI_TEMP_PATH\""
 . auto/define
+have=NGX_HTTP_UWSGI_TEMP_PATH value="\"$NGX_HTTP_UWSGI_TEMP_PATH\""
+. auto/define
 
 . auto/make
 . auto/lib/make
index c79a991a56db3c901fb4f480951317a5c93b7281..7cda6883c62788d2464d697685da30551c145d6c 100644 (file)
@@ -52,6 +52,7 @@ NGX_HTTP_LOG_PATH=
 NGX_HTTP_CLIENT_TEMP_PATH=
 NGX_HTTP_PROXY_TEMP_PATH=
 NGX_HTTP_FASTCGI_TEMP_PATH=
+NGX_HTTP_UWSGI_TEMP_PATH=
 
 HTTP_CACHE=YES
 HTTP_CHARSET=YES
@@ -186,6 +187,7 @@ do
         --http-client-body-temp-path=*)  NGX_HTTP_CLIENT_TEMP_PATH="$value" ;;
         --http-proxy-temp-path=*)        NGX_HTTP_PROXY_TEMP_PATH="$value" ;;
         --http-fastcgi-temp-path=*)      NGX_HTTP_FASTCGI_TEMP_PATH="$value" ;;
+        --http-uwsgi-temp-path=*)        NGX_HTTP_UWSGI_TEMP_PATH="$value" ;;
 
         --with-http_ssl_module)          HTTP_SSL=YES               ;;
         --with-http_realip_module)       HTTP_REALIP=YES            ;;
@@ -369,6 +371,7 @@ cat << END
   --http-proxy-temp-path=PATH        set path to the http proxy temporary files
   --http-fastcgi-temp-path=PATH      set path to the http fastcgi temporary
                                      files
+  --http-uwsgi-temp-path=PATH        set path to the http uwsgi temporary files
 
   --without-http                     disable HTTP server
   --without-http-cache               disable HTTP cache
@@ -458,6 +461,7 @@ NGX_HTTP_LOG_PATH=${NGX_HTTP_LOG_PATH:-logs/access.log}
 NGX_HTTP_CLIENT_TEMP_PATH=${NGX_HTTP_CLIENT_TEMP_PATH:-client_body_temp}
 NGX_HTTP_PROXY_TEMP_PATH=${NGX_HTTP_PROXY_TEMP_PATH:-proxy_temp}
 NGX_HTTP_FASTCGI_TEMP_PATH=${NGX_HTTP_FASTCGI_TEMP_PATH:-fastcgi_temp}
+NGX_HTTP_UWSGI_TEMP_PATH=${NGX_HTTP_UWSGI_TEMP_PATH:-uwsgi_temp}
 
 case ".$NGX_PERL_MODULES" in
     ./*)
index 50cbbf97b14341153f1a473e290f754a9db903f5..62de870d8f3f7c826e1d173a899fbfb4cb77159f 100644 (file)
@@ -99,5 +99,6 @@ cat << END
   nginx http client request body temporary files: "$NGX_HTTP_CLIENT_TEMP_PATH"
   nginx http proxy temporary files: "$NGX_HTTP_PROXY_TEMP_PATH"
   nginx http fastcgi temporary files: "$NGX_HTTP_FASTCGI_TEMP_PATH"
+  nginx http uwsgi temporary files: "$NGX_HTTP_UWSGI_TEMP_PATH"
 
 END
index a3ef8ad5c66b53916ea673e1c0f17ab60a515095..51ab1825a2db122df7d03f686873aa4b09ab8365 100644 (file)
@@ -32,9 +32,6 @@
 #include <ngx_http.h>
 
 
-#define NGX_HTTP_UWSGI_TEMP_PATH  "uwsgi_temp"
-
-
 typedef struct {
     ngx_http_upstream_conf_t   upstream;