Unverified Commit a8727a32 authored by Martin Cech's avatar Martin Cech Committed by GitHub
Browse files

Merge pull request #17842 from mvdbeek/docs_x_accel_redirect

[23.2] Proxy Access-Control-* headers when using x-accel-redirect
parents 0d70005d 2ce26862
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;
        }
```