Commit a46b9f32004cfad9e5a68c547791280ec55c560e
1 parent
03804122a7
Exists in
master
Added flashy.ini for uwsgi auto-handling. Modified nginxconf to support unix soc…
…ket connection to uwsgi.
Showing 2 changed files with 24 additions and 1 deletions Side-by-side Diff
flashy.ini
View file @
a46b9f3
1 | +# mysite_uwsgi.ini file | |
2 | +[uwsgi] | |
3 | + | |
4 | +# Django-related settings | |
5 | +# the base directory (full path) | |
6 | +chdir = /srv/flashy-backend | |
7 | +# Django's wsgi file | |
8 | +module = flashy.wsgi | |
9 | +# the virtualenv (full path) | |
10 | +home = /srv/flashy-backend/venv/ | |
11 | + | |
12 | +# process-related settings | |
13 | +# master | |
14 | +master = true | |
15 | +# maximum number of worker processes | |
16 | +processes = 10 | |
17 | +# the socket (use the full path to be safe | |
18 | +socket = /srv/flashy-backend/flashy.sock | |
19 | +# ... with appropriate permissions - may be needed | |
20 | +# chmod-socket = 664 | |
21 | +# clear environment on exit | |
22 | +vacuum = true |