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

Re: Multiple Domain CORS

Sathish Kumar April 12, 2019 09:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 188
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready