Created
March 29, 2017 20:06
-
-
Save hrshadhin/666908489ee728917ff9e27d060c0fac to your computer and use it in GitHub Desktop.
django app deploy with uwsgi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[uwsgi] | |
chdir=path of project | |
home = path of virtual env | |
module=project name.wsgi | |
master=True | |
process = 5 | |
pidfile=/tmp/whatever.pid | |
socket= /tmp/whatever.sock | |
vacuum=True | |
max-requests=5000 | |
logto = log file location | |
uid = www-data | |
gid = www-data | |
die-on-term = true | |
chmod-socket = 666 | |
chown-socket = www-data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment