add registry endpoint (#473)

This commit is contained in:
Karol Wypchło 2020-10-15 12:15:10 +02:00 committed by GitHub
parent 1c326b64df
commit bd724ede60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -191,6 +191,14 @@ server {
proxy_pass http://handshake-api:3100; 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 { location /skynet/skyfile {
include /etc/nginx/conf.d/include/cors; include /etc/nginx/conf.d/include/cors;
include /etc/nginx/conf.d/include/sia-auth; include /etc/nginx/conf.d/include/sia-auth;