diff --git a/config/nginx/default.conf b/config/nginx/default.conf index 125fe6db983d4462f59a2cc7491db7864bef163a..e97dbb37cd22e23cbd0433503da8e9dce5198805 100644 --- a/config/nginx/default.conf +++ b/config/nginx/default.conf @@ -26,6 +26,15 @@ server { include conf.d/api-proxy.conf; proxy_pass http://localhost:8090; } + location /api/working_groups { + if ($request_method = GET) { + add_header Access-Control-Allow-Origin *; + add_header Access-Control-Expose-Headers Etag,Link,Content-Type; + } + include conf.d/api-proxy.conf; + proxy_pass http://localhost:8090; + + } } location /organization/images {