openstack-ansible-os_nova/templates/nova-placement-uwsgi.ini.j2
Andy McCrae 9137145288 Remove uwsgi http port and add var for buffer-size
We don't use the http port, since nginx connects directly to the socket
on 127.0.0.1. Additionally, this adds a variable to allow the
buffer-size value in the uwsgi configuration to be set.

Change-Id: Icb1e7df83aa8e77aa4e93af2048318898d8e22ee
2017-02-16 13:07:31 +00:00

21 lines
541 B
Django/Jinja

# {{ ansible_managed }}
[uwsgi]
uid = {{ nova_system_user_name }}
gid = {{ nova_system_group_name }}
virtualenv = /openstack/venvs/nova-{{ nova_venv_tag }}
wsgi-file = {{ nova_bin }}/nova-placement-api
socket = 127.0.0.1:{{ nova_placement_uwsgi_socket_port }}
master = true
enable-threads = true
processes = {{ nova_wsgi_processes }}
threads = {{ nova_wsgi_threads }}
exit-on-reload = true
die-on-term = true
lazy-apps = true
add-header = Connection: close
buffer-size = {{ nova_wsgi_buffer_size }}
thunder-lock = true
logfile-chmod = 644