Multiple Domain CORS

Sathish Kumar satcse88 at gmail.com
Sat Apr 13 01:48:42 UTC 2019


Hi Andrey,

Thanks a lot for the solution, it working great in our Prod. You saved my
day!!!.

On Fri, Aug 10, 2018, 8:46 PM Andrey Oktyabrskiy <ano at bestmx.net> wrote:

> On 10.08.2018 15:17, Andrey Oktyabrskiy wrote:
> > ### /etc/nginx/inc/cors_options.inc
> > if ($request_method = 'OPTIONS') {
> >    add_header Access-Control-Allow-Credentials        true;
> >    add_header Access-Control-Allow-Origin     $cors_origin;
> >    add_header Access-Control-Allow-Methods    OPTIONS;
>
> - add_header Access-Control-Allow-Methods    OPTIONS;
> + add_header Access-Control-Allow-Methods    $cors_method;
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20190413/fa43045e/attachment.html>


More information about the nginx mailing list