uwsgi.ini configuration for python apps

view full story

http://serverfault.com – So I am experimenting with uWSGI and liking it a lot. I have a question regarding the use of its .ini file though. Is it possible to calculate values for its .ini configuration parameter dynamically? For instance, for the "chdir" value in my "uwsgi.ini" file, I have [uwsgi] socket= chdir=/Users/calvin/work/myproject virtualenv=/Users/calvin/.virtualenvs/myproject module=django.core.handlers.wsgi:WSGIHandler() env= DJANGO_SETTINGS_MODULE=myproject.settings master=True pidfile=/tmp/myproject-master.pid vacuum=True max-requests=5000 daemonize=/var/log/uwsgi/myproject.log It's (HowTos)