Python using Flask, Gunicorn & Nginx



Python using Flask, Gunicorn & Nginx

Python using Flask, Gunicorn & Nginx

Here is a script to link Python, Flask, Gunicorn, and Enginx on a new ubuntu server. It also includes the setup for Gunicorn logs! I’d love to see if you had any suggestions on how to make this better.

Disclaimer: This script is just for testing and should not be used in production. The idea is to give you a head start on getting things stood up to test and explore. Only run the script on a server you don’t mind losing data or rebuilding. I’m not an expert. I’m just sharing information and tools.

Here is the script for a newly stood-up Ubuntu test server:

https://github.com/PythonMike007/flask_nginx/blob/main/install_nginx_gunicorn_flask.sh

I would love your feedback.

Mik

Comments are closed.