cubicweb/uwsgi/uwsgi.ini
author Arthur Lutz <arthur.lutz@logilab.fr>
Thu, 19 Jan 2017 15:30:29 +0100
changeset 105 a2756a92160c
parent 103 4ea00d8c15d1
child 112 308bde45ba1e
permissions -rw-r--r--
[uwsgi] add stats server

[uwsgi]
master = true
http = 0.0.0.0:{{ config.cwapp.port|default('8080', true) }}
env = CW_INSTANCE={{ name }}
#env = CW_DEBUG=1
{% if 'file' in  config.cwapp_uwsgi_options.keys() and 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
stats = 127.0.0.1:1717