Configuring uWSGI for Production Deployment
I constantly come back to this article when configuring uWSGI.
A majority of time I use a Load Balancer and adding nginx or another server is generally not required as long as the config is setup correctly.
Below is my default config when starting a project:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 [uwsgi] strict = true master = true need-app = true single-interpreter = true pidfile = /var/run/uwsgi.