summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-06-01 20:32:32 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-06-01 20:32:32 +0000
commitb163e95f0b4c1f572a583313872b0cd5a60e8f70 (patch)
tree456df63b6b40589a5eaf684114f927a8cc1ed7d7
parent7a3edc01719262f3e8f2a8ede88f4c7ecf728511 (diff)
downloadnginx-b163e95f0b4c1f572a583313872b0cd5a60e8f70.tar.gz
nginx-b163e95f0b4c1f572a583313872b0cd5a60e8f70.tar.bz2
print default module temporary directory path in summary
only if the module is enabled
-rw-r--r--auto/summary17
1 files changed, 13 insertions, 4 deletions
diff --git a/auto/summary b/auto/summary
index 62de870d8..b1b1de860 100644
--- a/auto/summary
+++ b/auto/summary
@@ -97,8 +97,17 @@ fi
cat << END
nginx http access log file: "$NGX_HTTP_LOG_PATH"
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
+
+if [ $HTTP_PROXY = YES ]; then
+ echo " nginx http proxy temporary files: \"$NGX_HTTP_PROXY_TEMP_PATH\""
+fi
+
+if [ $HTTP_FASTCGI = YES ]; then
+ echo " nginx http fastcgi temporary files: \"$NGX_HTTP_FASTCGI_TEMP_PATH\""
+fi
+
+if [ $HTTP_UWSGI = YES ]; then
+ echo " nginx http uwsgi temporary files: \"$NGX_HTTP_UWSGI_TEMP_PATH\""
+fi
+