Multiple Domain CORS

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

Hi All,

I would like to use 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: <>

More information about the nginx mailing list