How to host Django With Nginx On Ubuntu 18.04 Bionic Beaver Linux - LinuxConfig.org

If you're looking to build and host web applications with Python, Django is the most popular choice. Since Python is so tightly integrated into the Linux, it's not too hard to get a Django server set up on Ubuntu. There isn't one set way to host Django projects, but a stack consisting of PostgreSQL, Nginx, Gunicorn, and Django is pretty much the standard.


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-host-django-with-nginx-on-ubuntu-18-04-bionic-beaver-linux

workers = multiprocessing.cpu_count() * 2 + 1

for ec2 free tier is this ok?

also, why set them dynamically?

main flaw i see on first glimpse is the lack of supervisor and git