Skip to content

Instantly share code, notes, and snippets.

@felipsmartins
Created May 23, 2022 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipsmartins/f3fdc9bb0420dd4a3376dcf821dc2ab2 to your computer and use it in GitHub Desktop.
Save felipsmartins/f3fdc9bb0420dd4a3376dcf821dc2ab2 to your computer and use it in GitHub Desktop.
python uwsgi example
; #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