cubicweb/uwsgi/uwsgi.ini
author Arthur Lutz <arthur.lutz@logilab.fr>
Wed, 14 Dec 2016 15:12:19 +0100
changeset 102 6a34a4eb10ad
parent 90 342a0b93f615
child 103 4ea00d8c15d1
permissions -rw-r--r--
[cubicweb/uwsgi] optionnal deploy of wsgi file (for looping tasks)

[uwsgi]
master = true
http = 0.0.0.0:{{ config.cwapp.port|default('8080', true) }}
env = CW_INSTANCE={{ name }}
#env = CW_DEBUG=1
{% if config.cwapp_uwsgi_options.file %}
wsgi-file = {{ config.cwapp_uwsgi_options.file }}
{% else %}
module = cubicweb.pyramid:wsgi_application()
{% endif %}
processes = {{ config.cwapp_uwsgi_options.workers }}
threads = {{ config.cwapp_uwsgi_options.threads }}
plugins = http,python
auto-procname = true
lazy-apps = true
log-master = true
# disable uwsgi request logging
disable-logging = true