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