biocompute-objects / biocompute-objects/galaxy_server

Observable CORS for AWS Galaxy

Open
#1 6 comments 0 reactions 1 assignee Claimed by @stephenshank View on GitHub
Dominant language
Jinja
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

On galaxy.hyphy.org, we service requests from `https://${USERNAME}.static.observableusercontent.com/` (where `${USERNAME}` is the user who owns the ObservableHQ notebook) in our NGINX logs. I think the corresponding edit for Apache would be something like:

```
Header set Access-Control-Allow-Origin "https://*.static.observableusercontent.com/"
Header set Access-Control-Allow-Methods "GET"
Header set Access-Control-Allow-Headers "DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range"
```

in `/etc/httpd/conf.d/galaxy.conf`.

Normally I’d just make this edit myself, check the configs (seems like `sudo httpd -t` for Apache) and restart the `httpd`. But since this is a (minor) security concern and it’s your system, I figured I’d run this by you and Dacian first.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.