I would like to use cloudfront.net content inside my webapp and its
throwing Access-Control-Allow-Origin error and have added the header for
single host on Nginx to make it work now.
The problem is we have multiple environments which is trying to do the same
and I have to whitelisted all domains. I don't want to add '*'. Chrome is
throwing error and not accepting multiple values.
Is there anyway to allow CORS domain like based on Host Origin.For Options,
Get and other methods.
nginx mailing list