Warning: This is the development version. The latest stable version is Version 1.1.2.
虽然轻便且易于使用,但是 Flask 的内建服务器不适用于生产 ,它也不能很好 的扩展。本文主要说明在生产环境下正确使用 Flask 的一些方法。
如果想要把 Flask 应用部署到这里没有列出的 WSGI 服务器,请查询其文档中关于 如何使用 WSGI 的部分,只要记住: Flask 应用对象实质上是一个 WSGI 应用。
Flask
托管于:
Heroku
Google App Engine
Google Cloud Run
AWS Elastic Beanstalk
Azure (IIS)
PythonAnywhere