Run multiple twisted servers?

血红的双手。 提交于 2019-12-13 06:08:54

问题


Is there some way to run multiple twisted servers simultaneously on the same port? So that they would be listening on different directories (for example: example.com/twisted1 is one twisted script, and example.com/twisted2 is another script)


回答1:


You can router your scripts with an web framework, like: Django, Flask, Web2Py... Or, if you prefer you can create an router script for route manually



来源:https://stackoverflow.com/questions/36877127/run-multiple-twisted-servers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!