Secure CORS support on Nginx

Cross-Origin Resource Sharing (CORS) is a specification that enables client-side cross-origin HTTP requests. This is particular useful for javascript web applications, since most modern browsers do not allow client-side RPCs to domains other than the origin domain. In short, the server wishing to enable CORS should add the Access-Control-Allow-Origin header to its responses, specifying a list of allowed servers, or the wildcard * to allow cross-origin requests from any domains. Enable-cors.org provides a list of server configuration files to enable CORS in different servers. However, the configuration file provided for Nginx does not work out of the box for a...…

read more...

Hello, World!

Welcome to Chaordic Technology Blog. This blog is maintained by Chaordic’s engineers and has the objective of sharing anything related to the technology we use in a daily basis to deliver top quality personalized recommendations to millions of users. Please excuse the somewhat limited interface here, but we plan to take an incremental approach and improve the user experience gradually. The main objective for the moment is to focus on producing quality content to help and entertain fellow hackers out there. We’re using the Jekyll Bootstrap toolkit to serve our content on GitHub Pages. This choice provides a simple and...…

read more...