From 81ed29f3b711aa5f19026ff9d9cde818da48cd19 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sun, 20 Mar 2022 17:04:00 +0100 Subject: [PATCH] feat(nginx): Adjust nginx-cache for all answer types --- default.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/default.conf b/default.conf index 813aae3..c561562 100644 --- a/default.conf +++ b/default.conf @@ -53,7 +53,8 @@ server { add_header Cache-Control "public, max-age=3600, stale-while-revalidate=2592000, stale-if-error=604800"; # Proxy Cache configuration - proxy_cache_valid 200 302 1h; + proxy_cache_valid 200 302 24h; + proxy_cache_valid any 5m; proxy_cache STATIC; proxy_cache_revalidate on; proxy_cache_min_uses 1; -- GitLab