deis/deis — pull request #1011 by carmstrong (2014-05-20 19:51:10+00:00)
Title: feat(router): route deis.domain to controller

Forwards requests to deis.domain to the controller.

TESTING: rebuild the router with this change:

$ make -C router build restart

Test that deis.domain routes to the controller and that other
requests to the domain route to the app. Also, send several requests
to the API and be sure that nothing broke related to auth because
of the proxying of requests.

The integration tests were updated to test the controller and the app
routing, so you can also `cd test && bundle exec rake`.

replaces #974
part of #535