diff --git a/templates/nginx/apollo.j2 b/templates/nginx/apollo.j2 index 1f3852877..05e0bcc74 100644 --- a/templates/nginx/apollo.j2 +++ b/templates/nginx/apollo.j2 @@ -54,6 +54,10 @@ server { proxy_pass http://127.0.0.1:8080/apollo; proxy_pass_request_headers on; + location /apollo_api/organism/findAllOrganisms { + proxy_pass http://127.0.0.1:4321/organism/findAllOrganisms; + } + add_header Access-Control-Allow-Origin "*"; add_header Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"; add_header Access-Control-Max-Age "1000";