From bd724ede60c32b819a9b22ae1453dc1e38d731c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20Wypch=C5=82o?= Date: Thu, 15 Oct 2020 12:15:10 +0200 Subject: [PATCH] add registry endpoint (#473) --- docker/nginx/conf.d/client.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 0e4e2355..1ec4855d 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -191,6 +191,14 @@ server { proxy_pass http://handshake-api:3100; } + location /skynet/registry { + include /etc/nginx/conf.d/include/cors; + include /etc/nginx/conf.d/include/sia-auth; + + proxy_set_header User-Agent: Sia-Agent; + proxy_pass http://siad/skynet/registry; + } + location /skynet/skyfile { include /etc/nginx/conf.d/include/cors; include /etc/nginx/conf.d/include/sia-auth;