Update proxy cache time for list API

This commit is contained in:
Fred Boniface 2023-01-11 13:35:55 +00:00
parent dac9adf666
commit dc4c50efc6

View File

@ -40,5 +40,12 @@ http {
proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 1m;
}
location /api/v1/list/ {
proxy_pass http://localhost:8460;
proxy_cache_key $scheme://$host$uri$is_args$query_string;
proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 1440m;
}
}
}