使用Nginx反向代理部署Pylons?

1 投票
2 回答
1329 浏览
提问于 2025-04-15 12:37

有没有关于如何用Nginx部署Pylons的教程?

我已经能启动Nginx,然后用paster serve development.ini把Pylons服务到8080端口。

不过,我发现我不能做其他事情,因为Pylons会锁定在这个服务模式下。如果我试着按CTRL+Z退出Pylons的服务模式去做其他事情,Pylons就会停止运行。

应该有其他的部署方法。

附注 - 我已经做了这些:

http://wiki.pylonshq.com/display/pylonscookbook/Running+Pylons+with+NGINX?showComments=true#comments

我对Pylons应用除了用paster serve之外,真的不知道该怎么做。不确定是否有其他的方法。

2 个回答

2

这里有一个关于如何在nginx上运行Pylons的教程,链接在这里:wiki.pylonshq.com/display/pylonscookbook/Running+Pylons+with+NGINX

如果你想了解如何在Nginx上使用Memcached和SSI来运行Pylons,可以查看这个链接:http://www.reshetseret.com/app/blog/?p=3

更新:原链接坏了,这里有谷歌缓存的版本:http://webcache.googleusercontent.com/search?q=cache:http://www.reshetseret.com/app/blog/

5

以守护进程模式运行 Pylons。

paster serve development.ini --daemon

撰写回答