<div dir="auto">Hi All,<div dir="auto"><br></div><div dir="auto">I would like to use <a href="http://cloudfront.net" target="_blank" rel="noreferrer">cloudfront.net</a> 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.</div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">Is there anyway to allow CORS domain like based on Host Origin.For Options, Get and other methods.</div></div>