diff --git a/config/nginx/default.conf b/config/nginx/default.conf index 906b07c84e831e968a87d14ebe6063d08339d1a5..2be0fa1d12c1c0d320c3bae268aa4bbd58529a13 100644 --- a/config/nginx/default.conf +++ b/config/nginx/default.conf @@ -31,6 +31,15 @@ server { include conf.d/api-proxy.conf; proxy_pass http://localhost:8092; } + 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 {