Remove sia-upload from nginx config.

This commit is contained in:
Ivaylo Novakov 2020-09-23 14:36:19 +02:00
parent 9c2d9e419d
commit d084646d9f
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 14 additions and 14 deletions

View File

@ -111,15 +111,15 @@ server {
# This endpoint is a backward compatilibilty workaround for reporting stats from legacy # This endpoint is a backward compatilibilty workaround for reporting stats from legacy
# upload siad node for portals that used double-siad setup. If your portal does not need # upload siad node for portals that used double-siad setup. If your portal does not need
# to support additional siad node, you can remove it from this config. # to support additional siad node, you can remove it from this config.
location /statsdown { ; location /statsdown {
include /etc/nginx/conf.d/include/cors; ; include /etc/nginx/conf.d/include/cors;
;
proxy_cache skynet; ; proxy_cache skynet;
proxy_cache_valid any 10m; # cache stats for 10 minutes ; proxy_cache_valid any 10m; # cache stats for 10 minutes
proxy_set_header User-Agent: Sia-Agent; ; proxy_set_header User-Agent: Sia-Agent;
proxy_read_timeout 5m; # extend the read timeout ; proxy_read_timeout 5m; # extend the read timeout
proxy_pass http://sia-upload:9980/skynet/stats; # serve upload node stats temporarily ; proxy_pass http://sia-upload:9980/skynet/stats; # serve upload node stats temporarily
} ; }
location /health-check { location /health-check {
include /etc/nginx/conf.d/include/cors; include /etc/nginx/conf.d/include/cors;