azavea/nyc-trees — pull request #73 by hectcastro (2014-11-10 20:04:57+00:00)
Title: Add support for Gunicorn/Nginx

This changeset makes Gunicorn the application server for Django across environments. In addition, Upstart handles launching the Gunicorn worker pool and Nginx reverse proxies requests to it.

It is also important to note that when the application is provisioned in the development and test environments, the Gunicorn `--reload` flag is used. This provides automatic Gunicorn worker reloads when code changes occur. I tested application reloading by making source code changes via the Vagrant shared folder and worker PIDs changed as expected.

For more discussion, see: https://github.com/azavea/nyc-trees/pull/71