kwork-poizonstore/_deploy/uwsgi.ini
2024-03-13 17:27:21 +04:00

30 lines
831 B
INI

[uwsgi]
uid = poizon
gid = poizon
# Django-related settings
# the base directory (full path)
chdir = /var/www/phzhik-poizonstore/
# Django's wsgi file
module = poizonstore:application
# the virtualenv (full path)
virtualenv = /var/www/phzhik-poizonstore/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/phzhik-poizonstore/mysite.sock
socket = :8001
wsgi-file = /var/www/phzhik-poizonstore/poizonstore/wsgi.py
pidfile = /tmp/uwsgi.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