From d2e622a77fbf47edab7dbb43f664882186ad52fd Mon Sep 17 00:00:00 2001 From: Konrad Rokicki Date: Fri, 2 Aug 2024 08:45:01 -0400 Subject: [PATCH] production cache --- docker/nginx.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index c7609a3..e023480 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -3,8 +3,7 @@ events { } http { - proxy_cache_path /var/cache/nginx keys_zone=mycache:1000m max_size=1000g levels=1:2 inactive=6h; - proxy_cache_key "$scheme$request_method$host$request_uri"; + proxy_cache_path /var/cache/nginx keys_zone=mycache:10m max_size=50g levels=1:2 inactive=1h; proxy_cache_valid 200 302 15m; proxy_cache_valid 404 1m;