From 0e435f7cd4b9a6aed0d3921ff1fb63bcf5fe0c87 Mon Sep 17 00:00:00 2001 From: Joh Dokler Date: Sun, 21 Mar 2021 13:30:18 +0100 Subject: [PATCH] Caching fix --- nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx.conf b/nginx.conf index 0c6cb67..7f4e163 100644 --- a/nginx.conf +++ b/nginx.conf @@ -63,6 +63,7 @@ http { location /api { uwsgi_pass uwsgi_upstream; uwsgi_cache cache; + uwsgi_cache_key $request_uri; uwsgi_cache_lock on; uwsgi_cache_background_update on; uwsgi_cache_min_uses 10; # Count requests for an url before the response is cached