How To Serve Flask Applications with uWSGI and Nginx

In this guide, you will build a simple Python application using the [Flask](https://palletsprojects.com/p/flask/) microframework. The bulk of this article is about setting up the [uWSGI application server](http://uwsgi-docs.readthedocs.io/en/latest/) launching the application, and configuring [Nginx](https://www.nginx.com/) to act as a front-end reverse proxy. Choose your server's operating system below to get started.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.