UWSGI¶
本简短章节介绍如何配置 uWSGI Pyramid 服务器。
Pyramid is a Paste-compatible web application framework. As such, you can use the uWSGI --paste
方便部署应用程序的选项。
例如,如果在 /opt/env
包含名为 wiki
配置在 /opt/env/wiki/development.ini
:
uwsgi --paste config:/opt/env/wiki/development.ini --socket :3031 -H /opt/env