Multiple Domain CORS

Sathish Kumar satcse88 at gmail.com
Fri Aug 10 11:38:49 UTC 2018


Hi All,

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...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180810/bf8e26b8/attachment.html>


More information about the nginx mailing list