summaryrefslogtreecommitdiff
path: root/uwsgi/django.ini
blob: 0e3f625ee256b0571f83c585b702fa9eff51ce05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[uwsgi]
socket = /home/mysite/run/uwsgi.sock 
# This is the name of the plugin on centos7
plugin = python36
wsgi-file = /home/mysite/mysite/wsgi.py
process = 4
callable = application
# Create this directory :-)
logto = /home/mysite/logs/mysite.log
virtualenv = /home/mysite/venv
chdir = /home/mysite
uid = mysite
gid = mysite
chmod-socket = 660
# Only do this if you actually want uwsgi to auto-reload
py-autoreload = 1