gpt4 book ai didi

linux - 在 Raspberry Pi 上部署

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:25:51 25 4
gpt4 key购买 nike

我正在查看 http://flask.pocoo.org/docs/0.10/deploying/但我对 Linux Web 服务器不是很熟悉。我可以知道我应该使用的是 CGI 选项还是 mod_wsgi (Apache) 选项吗?

最佳答案

就我而言,我对 nginx 非常满意

nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP proxy server, originally written by Igor Sysoev. For a long time, it has been running on many heavily loaded Russian sites including Yandex, Mail.Ru, VK, and Rambler. According to Netcraft, nginx served or proxied 24.33% busiest sites in January 2016. Here are some of the success stories: Netflix, Wordpress.com, FastMail.FM.

gunicorn

Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork worker model ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resources, and fairly speedy.

Here是一篇关于使用 flask 在 linux 平台上部署的好文章。

关于linux - 在 Raspberry Pi 上部署,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35237240/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com