new GET /skynet/metadata endpoint

This commit is contained in:
Karol Wypchlo 2021-05-11 11:08:27 +02:00
parent d1e0bdf3b7
commit 0209ae7f60
1 changed files with 8 additions and 0 deletions

View File

@ -399,6 +399,14 @@ server {
proxy_pass http://siad; proxy_pass http://siad;
} }
location /skynet/metadata {
limit_except GET { deny all; }
include /etc/nginx/conf.d/include/cors;
proxy_pass http://siad;
}
location ~ "^/(([a-zA-Z0-9-_]{46}|[a-z0-9]{55})(/.*)?)$" { location ~ "^/(([a-zA-Z0-9-_]{46}|[a-z0-9]{55})(/.*)?)$" {
include /etc/nginx/conf.d/include/cors; include /etc/nginx/conf.d/include/cors;
include /etc/nginx/conf.d/include/proxy-buffer; include /etc/nginx/conf.d/include/proxy-buffer;