Welcome! Log In Create A New Profile

Advanced

Re: Multiple Domain CORS

Andrey Oktyabrskiy
August 10, 2018 08:48AM
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@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