From 7787903c062ba602014caad6a2677678fe0ff4a8 Mon Sep 17 00:00:00 2001 From: Ivaylo Novakov Date: Wed, 3 Nov 2021 14:22:05 +0100 Subject: [PATCH] Proxy-pass /skynet/restore to skyd. --- docker/nginx/conf.d/server/server.api | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/nginx/conf.d/server/server.api b/docker/nginx/conf.d/server/server.api index 8641ac98..1b47b1eb 100644 --- a/docker/nginx/conf.d/server/server.api +++ b/docker/nginx/conf.d/server/server.api @@ -117,6 +117,9 @@ location /skynet/restore { include /etc/nginx/conf.d/include/sia-auth; client_max_body_size 5M; + + proxy_set_header User-Agent: Sia-Agent; + proxy_pass http://sia:9980/skynet/restore; } location /skynet/skyfile {