From 3323ba282a0c81149f042e284bf1dd6f9abd91f5 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 28 Apr 2020 21:06:46 +0200 Subject: [PATCH] comment adjustment --- setup-scripts/skynet-nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup-scripts/skynet-nginx.conf b/setup-scripts/skynet-nginx.conf index cc04d1d0..89e0cd73 100644 --- a/setup-scripts/skynet-nginx.conf +++ b/setup-scripts/skynet-nginx.conf @@ -59,8 +59,9 @@ server { # Extract 3 sets of 2 characters from $request_id and assign to $dir1, $dir2, $dir3 # respectfully. The rest of the $request_id is going to be assigned to $dir4. - # We use those variables to automaticallygenerate unique path for uploaded file, yet - # we want to limit the number of folders on one directory level so we create nested path. + # We use those variables to automatically generate a unique path for the uploaded file. + # This ensures that not all uploaded files end up in the same directory, which is something + # that causes performance issues in the renter. # Example path result: /af/24/9b/c5ec894920ccc45634dc9a8065 if ($request_id ~* "(\w{2})(\w{2})(\w{2})(\w+)") { set $dir1 $1;