Skip to content

Commit bd05749

Browse files
Update nginx.conf (#2455)
* 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 <[email protected]> --------- Co-authored-by: Amin Vakil <[email protected]>
1 parent 5ffb6a8 commit bd05749

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nginx/nginx.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,9 @@ http {
7575
location / {
7676
proxy_pass http://sentry;
7777
}
78+
location /_static/ {
79+
proxy_pass http://sentry;
80+
proxy_hide_header Content-Disposition;
81+
}
7882
}
7983
}

0 commit comments

Comments
 (0)