From 2c57fb7d5f41ce59306f7e2e2130a05f71467508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gr=C3=BCning?= Date: Wed, 1 Nov 2023 00:14:55 +0100 Subject: [PATCH] add aviator to CORS --- templates/nginx/galaxy-main.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nginx/galaxy-main.j2 b/templates/nginx/galaxy-main.j2 index b229bf7c9..92f4b838e 100644 --- a/templates/nginx/galaxy-main.j2 +++ b/templates/nginx/galaxy-main.j2 @@ -78,7 +78,7 @@ server { add_header X-Content-Type-Options nosniff; # CORS - if ($http_origin ~ "^https?://(covid19map\.elixir-luxembourg\.org|www\.bx\.psu\.edu)$") { + if ($http_origin ~ "^https?://(covid19map\.elixir-luxembourg\.org|avivator\.gehlenborglab\.org|www\.bx\.psu\.edu)$") { add_header Access-Control-Allow-Origin $http_origin; add_header Access-Control-Allow-Methods 'GET'; add_header Access-Control-Expose-Headers 'Content-Length,Content-Range';