Welcome! Log In Create A New Profile

Advanced

Multiple Domain CORS

Sathish Kumar
August 10, 2018 07:40AM
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.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Multiple Domain CORS

Sathish Kumar August 10, 2018 07:40AM

Re: Multiple Domain CORS

Andrey Oktyabrskiy August 10, 2018 08:18AM

Re: Multiple Domain CORS

Andrey Oktyabrskiy August 10, 2018 08:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready