Nginx_cross_origin_module - support cross origin resource sharing protocol in Nginx

Hi, folks,

I’m pleased to release the nginx_cross_origin_module.

This module can process the cross-origin resource sharing Javascript
request with this protocol (http://www.w3.org/TR/cors/). This module
follows the protocol version of 20100727.

The project site: GitHub - yaoweibin/nginx_cross_origin_module: add the support for cross-origin resource sharing protocol: http://www.w3.org/TR/cors/

Synopsis
a simple example:
http {

    cors on;
    cors_max_age     3600;
    cors_origin_list unbounded;
    cors_method_list GET HEAD PUT POST;
    cors_header_list unbounded;

    server {
        listen       80;
        server_name  localhost;

        location / {
            root   html;
            index  index.html index.htm;
        }
    }
}