From 0f7e5a4b351a12a8a2e8f66ac12f3543c41ba20d Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Thu, 19 Jul 2018 19:43:42 +0200 Subject: [PATCH] Add recommendation regarding the "root" path If the specified document "root" path is on the same file system as the "client_body_temp_path", temporary files holding request bodies can be renamed rather than copied. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index effce89..b89436f 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,10 @@ Nginx setup # Specify directives such as "listen", "server_name", and TLS-related # settings for the "server" that handles the uploads. - # Uploaded files will be stored below this directory: + # Uploaded files will be stored below the "root" directory. To minimize + # disk I/O, make sure the specified path is on the same file system as + # the directory used by Nginx to store temporary files holding request + # bodies ("client_body_temp_path", often some directory below /var). root /var/www/upload; # Specify this "location" block (if you don't use "/", see below):