decrease cache time on /skynet/stats from 10 minutes to 1 minute

This commit is contained in:
Karol Wypchlo 2021-05-10 16:11:12 +02:00
parent 019f2133f3
commit db2a553252
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ server {
}
proxy_cache skynet;
proxy_cache_valid any 10m; # cache stats for 10 minutes
proxy_cache_valid any 1m; # cache stats for 1 minute
proxy_set_header User-Agent: Sia-Agent;
proxy_read_timeout 5m; # extend the read timeout
proxy_pass http://siad/skynet/stats;