diff --git a/source/app/main.ini b/source/app/main.ini index 9c5472f..e4a68ca 100644 --- a/source/app/main.ini +++ b/source/app/main.ini @@ -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 diff --git a/source/app/settings.py b/source/app/settings.py index ad1d0cf..b968e87 100644 --- a/source/app/settings.py +++ b/source/app/settings.py @@ -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,