How-To: Deploy Python Flask applications using NGINX and uWSGI – Configuration (Part 2 of 3)
After the installation of the requirement software, next is the configuration part. An application should have its own NGINX and uWSGI configuration. It’s not necessary to do this for NGINX but it is recommended. The reason is simple, for easier management. When you have multiple applications being managed, updating smaller settings is easier , less disruptive and safer to do. uWSGI Configuration A configuration is made for each application. For example if you have an multiple API and Web (e.g. Django) projects, each should have its own configuration file. 01. Create the uWSGI configuration in /etc/uwsgi/apps-available/. $ sudo nano /etc/uwsgi/apps-available/geek_flask_app.ini…
Share