kwork-poizonstore/_deploy/uwsgi.ini
2024-03-19 00:55:46 +04:00

32 lines
832 B
INI

[uwsgi]
project = poizonstore
uid = poizon
gid = poizon
# Django-related settings
# the base directory (full path)
chdir = /var/www/%(project)/
# Django's wsgi file
module = %(project):application
# the virtualenv (full path)
virtualenv = /var/www/%(project)/env
# process-related settings
# master
master = true
# maximum number of worker processes
processes = 10
# the socket (use the full path to be safe
#socket = /var/www/%(project)/mysite.sock
socket = :8001
wsgi-file = /var/www/%(project)/poizonstore/wsgi.py
pidfile = /tmp/uwsgi-%(project).pid
stats = /tmp/uwsgi.stats.sock
# ... with appropriate permissions - may be needed
chmod-socket = 664
# clear environment on exit
vacuum = true
env = LANG=C.UTF-8
enable-threads = true