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; }