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