]> git.kaiwu.me - nginx.git/commitdiff
print default module temporary directory path in summary
authorIgor Sysoev <igor@sysoev.ru>
Tue, 1 Jun 2010 20:32:32 +0000 (20:32 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 1 Jun 2010 20:32:32 +0000 (20:32 +0000)
only if the module is enabled

auto/summary

index 62de870d8f3f7c826e1d173a899fbfb4cb77159f..b1b1de86049fcd78f694e2acc434c8925c7adbbd 100644 (file)
@@ -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
+