Created
September 1, 2020 21:32
-
-
Save arturataide/bd8f44e01f592d015bf607cbe12ea33f to your computer and use it in GitHub Desktop.
uWSGI configuration 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
| [uwsgi] | |
| base = /PROJECT_FOLDER | |
| chdir = %(base) | |
| home = %(base) | |
| pidfile= %(base)/myproject.pid | |
| pythonpath= /usr/local | |
| uid = www-data | |
| gid = www-data | |
| module = api.wsgi:application # path to wsgy.py file | |
| socket = :8000 | |
| processes = 8 | |
| threads = 4 | |
| master = true | |
| chmod-socket = 660 | |
| vacuum = true | |
| die-on-term = true | |
| harakiri = 20 | |
| max-requests = 5000 | |
| logs = %(base)/uwsgi_info.logs | |
| daemonize = %(base)/uwsgi.logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment