Skip to Main Content
Learning Flask Framework
book

Learning Flask Framework

by Matt Copperwaite, Charles Leifer
November 2015
Beginner content levelBeginner
250 pages
5h 16m
English
Packt Publishing
Content preview from Learning Flask Framework

Chapter 10. Deploying Your Application

In this chapter, we will learn how to deploy our Flask applications securely and in an automated, repeatable manner. We will see how to configure commonly used WSGI (Web Server Gateway Interface) capable servers such as Apache, Nginx, as well as the Python Webserver Gunicorn. Then we will see how to secure a part or the entire site using SSL, before finally wrapping up our application in a configuration management tool to automate our deployment.

In this chapter we shall learn the following topics:

  • Configuring commonly-used WSGI servers
  • Serving static files efficiently
  • Using SSL to secure your site
  • Automating deployment using Ansible

Running Flask with a WSGI server

It is important to note that Flask, by itself, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Flask Framework Cookbook - Second Edition

Flask Framework Cookbook - Second Edition

Shalabh Aggarwal
Flask Framework Cookbook

Flask Framework Cookbook

Shalabh Aggarwal

Publisher Resources

ISBN: 9781783983360Supplemental Content