Remove sia-upload from nginx config.
This commit is contained in:
parent
9c2d9e419d
commit
d084646d9f
|
@ -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;
|
||||||
|
|
Reference in New Issue