Last active
March 11, 2017 02:42
-
-
Save ma1onso/ddd90747bd541fb4e76d5a6e57730e8a to your computer and use it in GitHub Desktop.
.ini file for uwsgi configurations - Django
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
# adboozter_uwsgi.ini file | |
[uwsgi] | |
project = NAME | |
base = /home/USER | |
# Django-related settings | |
# the base directory (full path) | |
chdir = %(base)/www/%(project) | |
# Django's wsgi file | |
module = %(project).wsgi:application | |
# the virtualenv (full path) | |
home = %(base)/.virtualenvs/%(project) | |
# process-related settings | |
# master | |
master = true | |
# maximum number of worker processes | |
processes = 10 | |
# maximum number of threads | |
threads = 2 | |
# monitoring | |
stats = 127.0.0.1:9191 | |
# the socket (use the full path to be safe | |
socket = %(base)/www/%(project)/%(project).sock | |
# clear environment on exit | |
vacuum = true | |
# harakiri = 20 | |
# max-requests = 5000 | |
# security-related settings | |
# user | |
uid = USER | |
# group | |
gui = USER_GROUP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment