- add_header Access-Control-Allow-Origin "*" always;
- add_header Access-Control-Allow-Methods 'GET,OPTIONS' always;
+ add_header Access-Control-Allow-Origin "*";
+ add_header Access-Control-Allow-Methods 'GET,OPTIONS';
+ add_header Access-Control-Allow-Headers $http_access_control_request_headers;