Answer the question
In order to leave comments, you need to log in
How to give one response to parallel requests?
There is an /api/info/ request configured like this:
location /api/info/ {
limit_req zone=info burst=45;
try_files $uri @webapi;
proxy_cache_key $scheme$proxy_host$request_method$request_uri;
proxy_cache proxy_cache;
proxy_cache_valid 2s;
proxy_cache_lock on;
proxy_cache_use_stale error timeout updating;
expires 2s;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question