1
cjou 2014-05-11 21:19:41 +08:00
建议用 Nginx + uWSGI,支持 Python 和 PHP
|
2
ritksm 2014-05-11 22:06:26 +08:00
|
3
AstroProfundis 2014-05-11 23:32:16 +08:00
貌似也可以考虑 mod_python, 但 nginx 做反代应该是最理想的,配置也要简单些
|
4
laogui 2014-05-12 01:16:44 +08:00
我目前是php nodejs,用apache的反向代理
NameVirtualHost *:80 <VirtualHost *:80> ServerName abc.com ServerAlias www.abc.com ProxyRequests off ProxyPass / http://127.0.0.1:8000/ ProxyPassReverse / http:/127.0.0.1:8000/ </VirtualHost> <VirtualHost *:80> ServerName abcd.com ServerAlias abcd.com ProxyRequests off ProxyPass / http://127.0.0.1:8080/ ProxyPassReverse / http://127.0.0.1:8080/ </VirtualHost> |