TransforMap / data.transformap.co

Here you find a Node.js daemon to serve the public TransforMap web service.
https://data.transformap.co
GNU Affero General Public License v3.0
7 stars 2 forks source link

CORS for Dokku #36

Open almereyda opened 8 years ago

almereyda commented 8 years ago

Currently this data service is served via Dokku, which uses nginx to terminate HTTP connections. This is also the CORS proxy, while eventual headers have to be set there.

The reason nginx is the best way is that nginx is the fastest and closest process to the client. http://serverfault.com/questions/670219/nginx-proxying-nodejs-dokku-cors-response-headers-not-passing-through

Few resources come up that lead a path towards implementation for us: