在其上提供Python网站';它自己的服务器紧挨着为其他网站服务的apache


Serving Python website on it's own server next to apache serving other websites

我有Apache服务器,为几个PHP驱动的网站提供服务。我正在用Python/Pyramid开发一个网站,并希望将其托管在同一台服务器上。我有什么选择?

您有mod_wsgi,并且您将它作为一个单独的守护进程在不同的端口或接口上运行。

  • Apacehe和mod_wsgi
  • Nginx和gunicorn

这是我过去做这件事的两种方式。

相关文章: