From 44056221ba903146f75136707ddc786caf4126e6 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 8 Feb 2023 11:44:33 +0100 Subject: [PATCH] Avoid caching --- qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl b/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl index f7dc63ce6..12077b85a 100644 --- a/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl +++ b/qbittorrent/rootfs/etc/nginx/templates/ingress.gtpl @@ -6,6 +6,10 @@ server { location / { root /vuetorrent/public/; + # avoid cache + expires -1; # kill cache + proxy_no_cache 1; # don't cache it + proxy_cache_bypass 1; # even if cached, don't try to use it } location /api {