From 3cbeab37fbe561e4147cde64b1a0aac3902a02e4 Mon Sep 17 00:00:00 2001 From: gru Date: Wed, 25 Feb 2026 23:00:40 +0100 Subject: [PATCH] Update deploy/varnish/default.vcl.template --- deploy/varnish/default.vcl.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/varnish/default.vcl.template b/deploy/varnish/default.vcl.template index 4df995f..c9279dd 100644 --- a/deploy/varnish/default.vcl.template +++ b/deploy/varnish/default.vcl.template @@ -141,7 +141,7 @@ sub vcl_backend_response { } # Nie cache'uj statyków, jeśli status ≠ 200 - if (bereq.url ~ "^/static/" || req.url ~ "^/uploads/" || bereq.url ~ "\.(css|js|png|jpe?g|webp|svg|ico|woff2?)($|\?)") { + if (bereq.url ~ "^/static/" || bereq.url ~ "^/uploads/" || bereq.url ~ "\.(css|js|png|jpe?g|webp|svg|ico|woff2?)($|\?)") { if (beresp.status != 200) { set beresp.uncacheable = true; set beresp.ttl = 0s;