Proxy Container:
- Extend cache times for root and lists - Extend cache times for /api/ while testing Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
5e293d902b
commit
40b517224e
@ -32,21 +32,21 @@ http {
|
||||
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;
|
||||
proxy_cache_valid 200 10080m;
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://localhost:8460;
|
||||
proxy_cache_key $scheme://$host$uri$is_args$query_string;
|
||||
proxy_ignore_headers Cache-Control;
|
||||
proxy_cache_valid 200 1m;
|
||||
proxy_cache_valid 200 5m;
|
||||
}
|
||||
|
||||
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;
|
||||
proxy_cache_valid 200 10080m;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user