From d905231a6a4ba025e743a1e7dee7590670c0ab9f Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 11 Jul 2022 21:51:13 +0200 Subject: [PATCH] services/cdn-shield: optimize wttr.in caching --- hosts/prophet/services/cdn-shield/shields.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/prophet/services/cdn-shield/shields.nix b/hosts/prophet/services/cdn-shield/shields.nix index 776f59e..dfea583 100644 --- a/hosts/prophet/services/cdn-shield/shields.nix +++ b/hosts/prophet/services/cdn-shield/shields.nix @@ -14,6 +14,8 @@ with tools.vhosts; proxy_cache_methods GET HEAD POST; proxy_cache_valid any 10m; proxy_cache_bypass $cookie_nocache $arg_nocache$arg_comment; + proxy_cache_lock on; + proxy_cache_use_stale updating; ''; }; }