Last active
July 20, 2020 03:32
-
-
Save NanoDano/5d8589df25ad3169505cedfde4bb6e87 to your computer and use it in GitHub Desktop.
uWSGI example INI file
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
# /etc/uwsgi.d/uwsgi_example.ini | |
# Make sure the uwsgi file+dir has right permissions (Read by uwsgi) | |
[uwsgi] | |
plugins=python3 | |
chdir=/srv/myapp | |
module=myapp.wsgi:application | |
env='DJANGO_SETTINGS_MODULE=myapp.settings' | |
home=/srv/myapp/venv | |
pidfile=/run/uwsgi/myapp.pid | |
socket=127.0.0.1:8001 | |
master=True | |
processes=5 | |
harakiri=20 | |
max-requests=5000 | |
vacuum=True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment