Agregar notas para uwsgi
This commit is contained in:
parent
1b9e6e1638
commit
00ff919859
|
@ -2,7 +2,7 @@
|
||||||
socket = 127.0.0.1:3033
|
socket = 127.0.0.1:3033
|
||||||
uid = nginx
|
uid = nginx
|
||||||
gid = nginx
|
gid = nginx
|
||||||
#~ Establece una ruta accesible para nginx
|
#~ Establece una ruta accesible para nginx o el servidor web que uses
|
||||||
chdir = /srv/app/empresa-libre/app
|
chdir = /srv/app/empresa-libre/app
|
||||||
wsgi-file = main.py
|
wsgi-file = main.py
|
||||||
callable = app
|
callable = app
|
||||||
|
@ -11,5 +11,5 @@ processes = 4
|
||||||
threads = 4
|
threads = 4
|
||||||
thunder-lock = true
|
thunder-lock = true
|
||||||
#~ stats = 127.0.0.1:9191
|
#~ stats = 127.0.0.1:9191
|
||||||
#~ Establece una ruta accesible para nginx
|
#~ Establece una ruta accesible para nginx o el servidor web que uses
|
||||||
logger = file:/srv/log/empresalibre-uwsgi.log
|
logger = file:/srv/log/empresalibre-uwsgi.log
|
||||||
|
|
|
@ -11,7 +11,7 @@ from conf import DEBUG
|
||||||
|
|
||||||
|
|
||||||
DEBUG = DEBUG
|
DEBUG = DEBUG
|
||||||
VERSION = '0.1.0'
|
VERSION = '0.2.0'
|
||||||
EMAIL_SUPPORT = ('soporte@empresalibre.net',)
|
EMAIL_SUPPORT = ('soporte@empresalibre.net',)
|
||||||
|
|
||||||
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
|
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
@ -52,6 +52,7 @@ if DEBUG:
|
||||||
level=LOG_LEVEL,
|
level=LOG_LEVEL,
|
||||||
format_string=format_string).push_application()
|
format_string=format_string).push_application()
|
||||||
else:
|
else:
|
||||||
|
#~ Establece una ruta con acceso para nginx o el servidor web que uses
|
||||||
LOG_PATH = '/srv/log/empresalibre.log'
|
LOG_PATH = '/srv/log/empresalibre.log'
|
||||||
RotatingFileHandler(
|
RotatingFileHandler(
|
||||||
LOG_PATH,
|
LOG_PATH,
|
||||||
|
|
Loading…
Reference in New Issue