2017-06-27 15:43:02 -05:00
|
|
|
[uwsgi]
|
2017-10-30 19:58:31 -06:00
|
|
|
#~ Debe de corresponder con tu configuracion proxi en tu servidor web
|
2017-10-12 12:40:05 -05:00
|
|
|
socket = 127.0.0.1:3033
|
2017-06-27 15:43:02 -05:00
|
|
|
uid = nginx
|
|
|
|
gid = nginx
|
2017-10-30 19:58:31 -06:00
|
|
|
#~ Establece una ruta accesible para el servidor web
|
2017-10-12 12:40:05 -05:00
|
|
|
chdir = /srv/app/empresa-libre/app
|
2017-06-27 15:43:02 -05:00
|
|
|
wsgi-file = main.py
|
|
|
|
callable = app
|
|
|
|
master = true
|
2017-10-30 19:58:31 -06:00
|
|
|
#~ Puedes configurar de acuerdo a los recursos de tu servidor
|
2017-06-27 15:43:02 -05:00
|
|
|
processes = 4
|
|
|
|
threads = 4
|
2017-10-11 15:18:32 -05:00
|
|
|
thunder-lock = true
|
2017-06-27 15:43:02 -05:00
|
|
|
#~ stats = 127.0.0.1:9191
|
2017-10-30 19:58:31 -06:00
|
|
|
#~ Establece una ruta accesible para el servidor web
|
2017-06-27 15:43:02 -05:00
|
|
|
logger = file:/srv/log/empresalibre-uwsgi.log
|
2018-01-20 01:33:02 -06:00
|
|
|
log-maxsize = 1000000
|
|
|
|
http-timeout = 180
|