[gbm-web] redirector: use $upstream_cache_status as cache key



commit cb88b71100cc1ed3bea7689052de4e03d72a846d
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Oct 29 13:18:12 2020 +0100

    redirector: use $upstream_cache_status as cache key

 redirector/nginx.conf | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/redirector/nginx.conf b/redirector/nginx.conf
index f371999..fa02937 100644
--- a/redirector/nginx.conf
+++ b/redirector/nginx.conf
@@ -76,6 +76,7 @@ http {
             proxy_pass $redirect_location;
 
             proxy_cache s3cache;
+            proxy_cache_key $upstream_cache_status;
             proxy_cache_valid 200 15d;
             proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504;
             proxy_cache_lock on;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]