Increase API Cache time

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-01-16 09:30:48 +00:00
parent a178a0b66b
commit 5bb467c8fc

View File

@ -39,7 +39,7 @@ http {
proxy_pass http://localhost:8460; proxy_pass http://localhost:8460;
proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_cache_key $scheme://$host$uri$is_args$query_string;
proxy_ignore_headers Cache-Control; proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 5m; proxy_cache_valid 200 20m; # Change to 1m for release.
} }
location /api/v1/list/ { location /api/v1/list/ {