Minor fixes on setupnginx
This commit is contained in:
parent
46b86befef
commit
f4778f9690
|
@ -194,11 +194,11 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
uwsgi_conf = textwrap.dedent("""\
|
uwsgi_conf = textwrap.dedent("""\
|
||||||
[uwsgi]
|
[uwsgi]
|
||||||
plugins = python
|
plugins = python3
|
||||||
chdir = %(site_dir)s
|
chdir = %(site_dir)s
|
||||||
module = %(project_name)s.wsgi
|
module = %(project_name)s.wsgi
|
||||||
master = true
|
master = true
|
||||||
processes = %(processes)d
|
workers = %(processes)d
|
||||||
chmod-socket = 664
|
chmod-socket = 664
|
||||||
stats = /run/uwsgi/%%(deb-confnamespace)/%%(deb-confname)/statsocket
|
stats = /run/uwsgi/%%(deb-confnamespace)/%%(deb-confname)/statsocket
|
||||||
uid = %(user)s
|
uid = %(user)s
|
||||||
|
|
Loading…
Reference in New Issue