Jun-09-2020, 09:53 AM
(Jun-09-2020, 09:20 AM)DeaD_EyE Wrote: I prefer uwsgi + nginx.That's a good combination.
I have used Gunicorn and Nginx.
In general these setup is the most preferred and easy to setup for Python web-frameworks.
Digital Ocean guides are good and updatet can be applied elsewhere even if not use DO,
as start from blank distro eg Ubuntu 16-20, Debian 8-10...ect.
Examples.
How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 20.04
How To Set Up Django with Postgres, Nginx, and Gunicorn on Debian 10
How To Serve Flask Applications with uWSGI and Nginx on Ubuntu 20.04