ansible-nginx-uwsgi-supervisor/templates/app_uwsgi.ini

13 lines
285 B
INI
Raw Normal View History

[uwsgi]
socket = :{{ uwsgi_app_port }}
master = true
processes = 8
chdir = {{ uwsgi_app_root_path }}
virtualenv = {{ uwsgi_app_venv }}
module = {{ uwsgi_app_executable }}
{% for env_var, env_value in uwsgi_app_envs.items() %}
env = {{ env_var | upper }}={{ env_value }}
{% endfor %}