From 878660c52afe0bba8765492eb67f97aa35dd3de6 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 3 Nov 2021 17:16:28 +0100 Subject: [PATCH] remove siapath --- docker/nginx/conf.d/server/server.api | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/nginx/conf.d/server/server.api b/docker/nginx/conf.d/server/server.api index ae10fd01..5fc41cb1 100644 --- a/docker/nginx/conf.d/server/server.api +++ b/docker/nginx/conf.d/server/server.api @@ -115,7 +115,6 @@ location /skynet/registry { location /skynet/restore { include /etc/nginx/conf.d/include/cors; include /etc/nginx/conf.d/include/sia-auth; - include /etc/nginx/conf.d/include/generate-siapath; client_max_body_size 5M; @@ -128,7 +127,7 @@ location /skynet/restore { proxy_set_header User-Agent: Sia-Agent; # proxy this call to siad endpoint (make sure the ip is correct) - proxy_pass http://sia:9980/skynet/restore/$dir1/$dir2/$dir3$is_args$args; + proxy_pass http://sia:9980; } location /skynet/skyfile {