Skip to content

Instantly share code, notes, and snippets.

@ziplus4
Created October 23, 2015 05:02
Show Gist options
  • Save ziplus4/298f6f96b00d9413b9dd to your computer and use it in GitHub Desktop.
Save ziplus4/298f6f96b00d9413b9dd to your computer and use it in GitHub Desktop.
uwsgi 설정 파일
# mysite_uwsgi.ini file
[uwsgi]
# Django-related settings
# the base directory (full path)
chdir = /path/to/your/project
# Django's wsgi file
module = project.wsgi
# the virtualenv (full path)
home = /path/to/virtualenv
# process-related settings
# master
master = true
# maximum number of worker processes
processes = 10
# the socket (use the full path to be safe
socket = /path/to/your/project/mysite.sock
# ... with appropriate permissions - may be needed
# chmod-socket = 664
# clear environment on exit
vacuum = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment