From ac80ab68b101dd835ca3d510798bd6d6013a0e73 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Mon, 6 Nov 2023 06:42:37 +0000 Subject: [PATCH] build: always revalidate cache for script proxy --- nginx/templates/script.conf.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx/templates/script.conf.template b/nginx/templates/script.conf.template index b5d20872d3..41a53744b0 100644 --- a/nginx/templates/script.conf.template +++ b/nginx/templates/script.conf.template @@ -47,6 +47,9 @@ server { # Allow executing shell scripts directly in the browser default_type text/plain; + # Prevent caching + add_header Cache-Control "no-cache, no-store, must-revalidate"; + # Prevent directory listing autoindex off; }