Skip to content

Commit

Permalink
build: always revalidate cache for script proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 8, 2023
1 parent 847c944 commit ac80ab6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nginx/templates/script.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ac80ab6

Please sign in to comment.