Last active
November 3, 2019 06:16
-
-
Save hiendnguyen/2a84767eaf4269de9a95ca8a24f23b1d to your computer and use it in GitHub Desktop.
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] | |
# Django-related settings | |
# the base directory (full path) | |
chdir = /var/www/vndeveloper/djangodemo/ | |
# Django's wsgi file | |
module =djangodemo.wsgi | |
# the virtualenv (full path) | |
home = /var/www/p3venv | |
# fixpathinfo routing action. Blindly assumes PATH_INFO is clobbered with SCRIPT_NAME | |
route-run = fixpathinfo: | |
# Logs | |
logdate = True | |
logto = /var/log/uwsgi/access.log | |
# process-related settings | |
# master | |
master = true | |
# maximum number of worker processes | |
processes = 5 | |
# the socket (use the full path to be safe) | |
socket = /run/uwsgi/django.sock | |
# ... with appropriate permissions - may be needed | |
chmod-socket = 666 | |
# clear environment on exit | |
vacuum = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment