I have cors in settings of nginx:
server { ... location / { if ($request_method = \'OPTIONS\') { add_header \'Access-Control-Allow-