From 07bd6ef883deace8721d3b313d00815399898398 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 30 Apr 2021 13:50:46 +0200 Subject: [PATCH] user agent --- docker/nginx/conf.d/client.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 4df2be9e..bdbbc3a0 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -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.