Created
May 23, 2022 00:36
-
-
Save felipsmartins/f3fdc9bb0420dd4a3376dcf821dc2ab2 to your computer and use it in GitHub Desktop.
python uwsgi example
This file contains 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
; #CMD uwsgi --ini uwsgi.ini --threads 2 | |
[uwsgi] | |
chdir = /code | |
http-socket = 0.0.0.0:8051 | |
http-enable-proxy-protocol = 1 | |
;workers = 3 | |
processes = 5 | |
module = <PROJECT>.wsgi:application | |
env = DJANGO_SETTINGS_MODULE=<PROJECT>.settings.$(APP_ENVIRONMENT) | |
single-interpreter = true | |
;disable-logging = true | |
log-5xx = true | |
master = true | |
lazy-apps = true | |
vacuum = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment