问题原文
原帖链接 · Liam · CC BY-SA 3.0
Right now I've got a python2 django app deployed in my sever using apache2 and mod-wsgi. Now I want to deploy another one, but this is written in python3. My problem is that mod-wsgi is compiled to python2. What are my alternatives to do the deploy? I thouth I could do another deploy using mod-uwsgi for python3.
PD: I'm also using virtualenvs.
Thanks!
已采纳解答
原帖链接 · user2233709 · CC BY-SA 4.0
This is quite an old question but, for those who might still wonder, you can use the uWSGI application server to run applications written in various languages (including Python 2 + Python 3), and then use Apache’s mod_proxy_uwsgi to relay requests to the uWSGI application.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
