Multiple Domain CORS
satcse88 at gmail.com
Fri Aug 10 11:38:49 UTC 2018
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx