From 33eeb6148452f0186d199fca49e651297bee8ac8 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 8 May 2020 09:49:37 +0200 Subject: [PATCH] fix proxy_pass for upload not passing query params --- setup-scripts/skynet-nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-scripts/skynet-nginx.conf b/setup-scripts/skynet-nginx.conf index 89e0cd73..bf1003e9 100644 --- a/setup-scripts/skynet-nginx.conf +++ b/setup-scripts/skynet-nginx.conf @@ -79,7 +79,7 @@ server { # siad setup, make sure only the download portal runs in 'portal mode'. # The upload siad can be run in normal mode. Set the port to '9980' if # you do not want to run your portal in the double siad setup. - proxy_pass http://127.0.0.1:9970/skynet/skyfile/$dir1/$dir2/$dir3/$dir4; + proxy_pass http://127.0.0.1:9970/skynet/skyfile/$dir1/$dir2/$dir3/$dir4$is_args$args; proxy_set_header Expect $http_expect; add_header Access-Control-Allow-Origin *;