user agent

This commit is contained in:
Karol Wypchlo 2021-04-30 13:50:46 +02:00
parent 2c258c65ec
commit 07bd6ef883
1 changed files with 1 additions and 0 deletions

View File

@ -328,6 +328,7 @@ server {
proxy_read_timeout 600;
proxy_request_buffering off; # stream uploaded files through the proxy as it comes in
proxy_set_header Expect $http_expect;
proxy_set_header User-Agent: Sia-Agent;
# Extract 2 sets of 2 characters from $request_id and assign to $dir1, $dir2
# respectfully. The rest of the $request_id is going to be assigned to $dir3.