diff options
author | lxf <sng@luxagraf.net> | 2019-05-02 15:44:35 +0000 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2019-05-02 15:44:35 +0000 |
commit | 3c1a9804c9858328b4b18be634f7d4dbd32b9816 (patch) | |
tree | 34b8b56c37c21aadfd8be0cb6b500623966a55f6 /config/django.ini | |
parent | 5e545245ec2900aa33328629d18d4847860660bb (diff) |
Diffstat (limited to 'config/django.ini')
-rw-r--r-- | config/django.ini | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/config/django.ini b/config/django.ini new file mode 100644 index 0000000..9f87519 --- /dev/null +++ b/config/django.ini @@ -0,0 +1,30 @@ +# django.ini file +[uwsgi] + +# maximum number of processes +processes = 4 +max-requests = 5000 +enable-threads = true +# the socket (use the full path to be safe) +uid = www-data +gid = www-data + +socket = /tmp/uwsgi-luxnotes.sock +chmod-socket = 664 +chown-socket = www-data:www-data + +# the base directory +chdir = /home/lxf/sites/luxnotes.net + +# django's wsgi file +module = config.wsgi +# the virtualenv +home = /home/lxf/sites/luxnotes.net/venv + +buffer-size =65535 +#plugin=python +limit-as = 1024 +limit-post = 0 +# clear environment on exit +vacuum = true +logto = /var/log/uwsgi/lnotes.log |