Multiple ENV vars with UWSGI

To send in multiple environment variables using the uwsgi ini, you just need to pass in multiple env parameters for example:

[uwsgi]
plugin = python27
enable-threads = true
single-interpreter = true
virtualenv = /path/to/leadsift/staging/builds/current
env = NEW_RELIC_CONFIG_FILE=newrelic.ini
env = NEW_RELIC_ENVIRONMENT=staging
env = DJANGO_SETTINGS_MODULE=leadsift_app.settings.staging
module = leadsift_app.wsgi:application

To send in multiple environment variables using the uwsgi ini, you just need to pass in multiple env parameters for example: [uwsgi] plugin = python27 enable-threads = true single-interpreter = true virtualenv = /path/to/leadsift/staging/builds/current env = NEW_RELIC_CONFIG_FILE=newrelic.ini env = NEW_RELIC_ENVIRONMENT=staging env = DJANGO_SETTINGS_MODULE=leadsift_app.settings.staging module = leadsift_app.wsgi:application