openstack-ansible-os_magnum/templates/magnum-uwsgi.ini.j2
Mohammed Naser f586967a56 Implement uWSGI for Magnum API
Change-Id: Iea6154c18070c82109b1d262d20c23476e4a2573
Implements: blueprint goal-deploy-api-in-wsgi
2018-02-18 12:59:16 -05:00

20 lines
526 B
Django/Jinja

[uwsgi]
uid = {{ magnum_system_user_name }}
gid = {{ magnum_system_group_name }}
virtualenv = {{ magnum_venv_path }}
wsgi-file = {{ magnum_venv_path }}/{{ item.wsgi_name }}
http-socket = {{ item.uwsgi_bind_address }}:{{ item.uwsgi_port }}
master = true
enable-threads = true
processes = {{ magnum_wsgi_processes }}
threads = {{ magnum_wsgi_threads }}
exit-on-reload = true
die-on-term = true
lazy-apps = true
add-header = Connection: close
buffer-size = {{ magnum_wsgi_buffer_size }}
thunder-lock = true
logfile-chmod = 644