Skip to content

Commit

Permalink
get CORS working
Browse files Browse the repository at this point in the history
  • Loading branch information
3mcd committed May 22, 2024
1 parent cc604b5 commit e7275d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integrations/evaluations-proxy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ http {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;

add_header Access-Control-Allow-Origin *;
}
}
}
2 changes: 2 additions & 0 deletions integrations/submissions-proxy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ http {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;

add_header Access-Control-Allow-Origin *;
}
}
}

0 comments on commit e7275d3

Please sign in to comment.