mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-19 10:51:34 +08:00
Merge pull request #17842 from mvdbeek/docs_x_accel_redirect
[23.2] Proxy Access-Control-* headers when using x-accel-redirect
This commit is contained in:
@@ -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;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user