expose /skynet/health endpoint

This commit is contained in:
Karol Wypchlo 2021-08-24 16:42:33 +02:00
parent b924bc70e6
commit 999a0d85aa
No known key found for this signature in database
GPG Key ID: C92C016317A964D0
1 changed files with 7 additions and 0 deletions

View File

@ -375,6 +375,13 @@ server {
proxy_pass http://siad; proxy_pass http://siad;
} }
location /skynet/health {
include /etc/nginx/conf.d/include/cors;
proxy_set_header User-Agent: Sia-Agent;
proxy_pass http://siad;
}
location /skynet/resolve { location /skynet/resolve {
include /etc/nginx/conf.d/include/cors; include /etc/nginx/conf.d/include/cors;