Skip to content

Commit

Permalink
Merge pull request #17842 from mvdbeek/docs_x_accel_redirect
Browse files Browse the repository at this point in the history
[23.2] Proxy Access-Control-* headers when using x-accel-redirect
  • Loading branch information
martenson authored Mar 26, 2024
2 parents 0d70005 + 2ce2686 commit a8727a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/source/admin/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ To enable it, add the following to your Galaxy's `server {}` block:
location /_x_accel_redirect/ {
internal;
alias /;
# Add upstream response headers that would otherwise be omitted
add_header Access-Control-Allow-Origin $upstream_http_access_control_allow_origin;
add_header Access-Control-Allow-Methods $upstream_http_access_control_allow_methods;
}
```

Expand Down

0 comments on commit a8727a3

Please sign in to comment.