Skip to content

Add upstream response headers that would otherwise be omitted to x_accel_redirect#1157

Draft
sanjaysrikakulam wants to merge 2 commits intousegalaxy-eu:masterfrom
sanjaysrikakulam:x_accel_redirect_add_upstream
Draft

Add upstream response headers that would otherwise be omitted to x_accel_redirect#1157
sanjaysrikakulam wants to merge 2 commits intousegalaxy-eu:masterfrom
sanjaysrikakulam:x_accel_redirect_add_upstream

Conversation

@sanjaysrikakulam
Copy link
Copy Markdown
Member

add_header Access-Control-Allow-Methods $upstream_http_access_control_allow_methods;

# CORS
if ($http_origin ~ "^https?://(covid19map\.elixir-luxembourg\.org|avivator\.gehlenborglab\.org|www\.bx\.psu\.edu)$") {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I will convert this PR to a draft and wait for the conclusion

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sanjaysrikakulam, appreciate you taking care of this!

@sanjaysrikakulam sanjaysrikakulam marked this pull request as draft March 26, 2024 10:30
Copy link
Copy Markdown
Contributor

@mira-miracoli mira-miracoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants