Skip to content

Commit

Permalink
#3 Added nginx CORS policy
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrumpis committed Feb 24, 2023
1 parent ee3417d commit b3d539e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ server {

# redirect all API calls
location /vc/ {
add_header 'Access-Control-Allow-Origin' '*' always;
proxy_pass http://webapp:${WEBAPP_PORT}/vc/;
proxy_redirect off;
proxy_http_version 1.1;
Expand Down

0 comments on commit b3d539e

Please sign in to comment.