diff --git a/.gitignore b/.gitignore index 58db2e9..f666b76 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ venv/ config/* data/* +logs/ !config/config.yml.sample !data/schema.sql diff --git a/uwsgi.ini b/uwsgi.ini index a693c6e..beb48c6 100644 --- a/uwsgi.ini +++ b/uwsgi.ini @@ -3,8 +3,14 @@ socket = 127.0.0.1:9001 wsgi-file = app.py callable = app virtualenv = venv + processes = 1 threads = 4 + uid = www-data gid = www-data + stats = 127.0.0.1:9002 + +logger = file:logs/uwsgi.log +log-maxsize = 10000000