Skip to content

Commit

Permalink
Add additional data proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
naglepuff committed Nov 21, 2024
1 parent c408d34 commit 16f05ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nmdc_server/data_object_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
data_url_hosts = [
(re.compile("^https://data.microbiomedata.org(/data)?"), "/data"),
(re.compile("^https://nmdcdemo.emsl.pnnl.gov"), "/nmdcdemo"),
(re.compile("^https://portal.nersc.gov"), "/nerscportal"),
(re.compile("^https://storage.neonscience.org"), "/neonscience"),
]


Expand Down
7 changes: 7 additions & 0 deletions web/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,12 @@ http {
location /nmdcdemo/ {
proxy_pass https://nmdcdemo.emsl.pnnl.gov/;
}

location /nerscportal {
proxy_pass https://portal.nersc.gov/;
}

location /neonscience {
proxy_pass https://storage.neonscience.org/;
}
}

0 comments on commit 16f05ce

Please sign in to comment.