Skip to content

Commit

Permalink
Add note about HTTP Range also to Apache docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Feb 8, 2019
1 parent a1f188b commit 1d19fd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/source/admin/apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ Galaxy sends files (e.g. dataset downloads) by opening the file and streaming it
However, this ties up the Galaxy process, which can impact the performance of other operations (see [Production Server
Configuration](production.md) for a more in-depth explanation).

Apache can assume this task instead and as an added benefit, speed up downloads. This is accomplished through the use of
`mod_xsendfile`, a 3rd-party Apache module. Dataset security is maintained in this configuration because Apache will
Apache can assume this task instead and, as an added benefit, speed up downloads. In addition, both the IGV genome browser and JBrowse tool (run within Galaxy) require support for the HTTP *Range* header, and this is only available if the proxy serves datasets.
This is accomplished through the use of `mod_xsendfile`, a 3rd-party Apache module. Dataset security is maintained in this configuration because Apache will
still check with Galaxy to ensure that the requesting user has permission to access the dataset before sending it.

To enable it, you must first install `mod_xsendfile`. This is usually available via your package manager
Expand Down
4 changes: 2 additions & 2 deletions doc/source/admin/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ Galaxy sends files (e.g. dataset downloads) by opening the file and streaming it
However, this ties up the Galaxy process, which can impact the performance of other operations (see [Production Server
Configuration](production.md) for a more in-depth explanation).

Nginx can assume this task instead and as an added benefit, speed up downloads. In addition, both the IGV genome browser and JBrowse tool (run within Galaxy) require support for the HTTP *Range* header, and this is only available if nginx (or Apache
with sendfile support) serves datasets. This is accomplished through the use ofthe special `X-Accel-Redirect` header. Dataset security is maintained in this configuration because nginx will still check with Galaxy to ensure that the requesting user has permission to access the dataset before sending it.
Nginx can assume this task instead and, as an added benefit, speed up downloads. In addition, both the IGV genome browser and JBrowse tool (run within Galaxy) require support for the HTTP *Range* header, and this is only available if the proxy serves datasets.
This is accomplished through the use of the special `X-Accel-Redirect` header. Dataset security is maintained in this configuration because nginx will still check with Galaxy to ensure that the requesting user has permission to access the dataset before sending it.

To enable it, add the following to your Galaxy's `server {}` block:

Expand Down

0 comments on commit 1d19fd5

Please sign in to comment.