Skip to content

Commit

Permalink
Update nginx.conf (#2455)
Browse files Browse the repository at this point in the history
* Update nginx.conf

Fixes #2285

Applies the same `proxy_hide_header Content-Disposition;`, but only to paths that start with `_static/` which should avoid the issue introduced previously with attachment downloads.

* Update nginx/nginx.conf

Co-authored-by: Amin Vakil <info@aminvakil.com>

---------

Co-authored-by: Amin Vakil <info@aminvakil.com>
  • Loading branch information
mwarkentin and aminvakil committed Oct 7, 2023
1 parent 5ffb6a8 commit bd05749
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,9 @@ http {
location / {
proxy_pass http://sentry;
}
location /_static/ {
proxy_pass http://sentry;
proxy_hide_header Content-Disposition;
}
}
}

0 comments on commit bd05749

Please sign in to comment.