I have read quite a lot of posts but none of them worked though.
I have ec2 setup in aws installed with ubuntu 16.04 and nginx. went into the site-available
/ site-enabled
to 'Access-Control-Allow-Origin'
allowing one domain access, but how can I add more than one domain access?
I would get multiple values error if I add more than one accress. Lots posts are about php such as
NGINX 'Access-Control-Allow-Origin' header contains multiple values
even though I am not using php but I have tried using the code above but does not work though.
is anyone able to give me a hand or direct me how this can be done on server?
Thanks in advance.