Skip to content
Discussion options

You must be logged in to vote

✓ I solved my issue ✓

By adding these lines in nginx.conf user location :

if ($http_origin = "http:https://13.37.46.163") {
     set $cors "true";
}
if ($cors = "true") {
    add_header Access-Control-Allow-Origin *;
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Mehditerranee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant