travis-ci/travis-api — pull request #75 by drogus (2013-09-05 15:13:09+00:00)
Title: Add nginx config with CORS support

After adding nginx middleware to our app I thought about using it a bit more and not going to sinatra app for really simple things. The easiest thing to remove from the app and move to nginx config was CORS support. With such config, OPTIONS requests are now handled by nginx.