Proxy-pass /skynet/restore to skyd.

This commit is contained in:
Ivaylo Novakov 2021-11-03 14:22:05 +01:00
parent c34a32a3fd
commit 7787903c06
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 3 additions and 0 deletions

View File

@ -117,6 +117,9 @@ location /skynet/restore {
include /etc/nginx/conf.d/include/sia-auth; include /etc/nginx/conf.d/include/sia-auth;
client_max_body_size 5M; client_max_body_size 5M;
proxy_set_header User-Agent: Sia-Agent;
proxy_pass http://sia:9980/skynet/restore;
} }
location /skynet/skyfile { location /skynet/skyfile {