-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add upstream response headers that would otherwise be omitted to x_accel_redirect #1157
base: master
Are you sure you want to change the base?
Add upstream response headers that would otherwise be omitted to x_accel_redirect #1157
Conversation
# 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; | ||
|
||
# CORS | ||
if ($http_origin ~ "^https?://(covid19map\.elixir-luxembourg\.org|avivator\.gehlenborglab\.org|www\.bx\.psu\.edu)$") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you :)
Refer: galaxyproject/galaxy#17643