Skip to content

Commit

Permalink
./configure --http-uwsgi-temp-path=PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsysoev committed Jun 1, 2010
1 parent dc4b53f commit e45b892
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions auto/configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions auto/options
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 ;;
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
./*)
Expand Down
1 change: 1 addition & 0 deletions auto/summary
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions src/http/modules/ngx_http_uwsgi_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
#include <ngx_http.h>


#define NGX_HTTP_UWSGI_TEMP_PATH "uwsgi_temp"


typedef struct {
ngx_http_upstream_conf_t upstream;

Expand Down

0 comments on commit e45b892

Please sign in to comment.