fix proxy_pass for upload not passing query params

This commit is contained in:
Karol Wypchlo 2020-05-08 09:49:37 +02:00
parent 3323ba282a
commit 33eeb61484
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ server {
# siad setup, make sure only the download portal runs in 'portal mode'. # 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 # 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. # 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; proxy_set_header Expect $http_expect;
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;