Skip to content

Commit

Permalink
added no-store cache header to / to prevent webui from serving
Browse files Browse the repository at this point in the history
cached versions of workflows
  • Loading branch information
fdrab committed Oct 19, 2024
1 parent 6c6ac79 commit c338e29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Fixed
* Fix Popen.pid typo in st2tests. #6184
* Bump tooz package to `6.2.0` to fix TLS. #6220 (@jk464)
* Shells via `pywinrm` are initialized with the 65001 codepage to ensure raw string responses are UTF-8. #6034 (@stealthii)
* Added no-store header for location / in nginx config to prevent web ui serving cached versions of opened flows. st2web#1030 (@fdrab)

Changed
~~~~~~~
Expand Down
1 change: 1 addition & 0 deletions conf/nginx/st2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ server {
}

location / {
add_header Cache-Control "no-store";
max_ranges 0;
root /opt/stackstorm/static/webui/;
index index.html;
Expand Down

0 comments on commit c338e29

Please sign in to comment.