Increase API Cache time
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
a178a0b66b
commit
5bb467c8fc
@ -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/ {
|
||||||
|
Reference in New Issue
Block a user