Skip to content

Commit

Permalink
add shim to API as well
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Sep 13, 2023
1 parent ea87729 commit d4c4a13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/nginx/apollo.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit d4c4a13

Please sign in to comment.