See upstream for more documentation.
npm install
npm start
location /corsproxy/ {
if ($request_uri ~ ^/corsproxy/(.*) ) {
set $cors_request_uri $1;
}
proxy_pass http://127.0.0.1:1234/$cors_request_uri;
proxy_buffering off;
}