From 53addbcccb31cf508620053fd461438c7748d057 Mon Sep 17 00:00:00 2001 From: Gitea Date: Sun, 5 Nov 2023 15:32:07 -0500 Subject: updated uwsgi config for arch --- config/django.ini | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'config') diff --git a/config/django.ini b/config/django.ini index 711891c..4cf9697 100644 --- a/config/django.ini +++ b/config/django.ini @@ -1,25 +1,26 @@ # django.ini file [uwsgi] +plugins = python # maximum number of processes processes = 4 max-requests = 5000 enable-threads = true # the socket (use the full path to be safe) -uid = http -gid = http +socket = /run/uwsgi/%n.sock -socket = /tmp/uwsgi.sock +uid = http +gid = http chmod-socket = 664 -chown-socket = www-data:www-data +chown-socket = http:http # the base directory -chdir = /home/lxf/sites/django +chdir = /home/lxf/sites/luxagraf # django's wsgi file module = config.wsgi # the virtualenv -home = /home/lxf/sites/django/venv +home = /home/lxf/sites/luxagraf/venv buffer-size =65535 #plugin=python @@ -27,4 +28,6 @@ limit-as = 1024 limit-post = 0 # clear environment on exit vacuum = true -logto = /var/log/uwsgi/django.log +logto = /var/log/uwsgi/luxagraf.log +logfile-chown = http:http +logfile-chmod = 664 -- cgit v1.2.3-70-g09d2