我试图使用CherryPy服务器为许多小型Flask应用程序提供服务。我希望通过SSL公开一个而不暴露该端口上的所有路由。是否可以基于每个端口提供路由?
也许像......
cherrypy.tree.graft(mdm_server, "/", 443)
cherrypy.tree.graft(admin_server, "/admin", 80)
cherrypy.tree.graft(acct_server, "/accounting", 80)
或..
cherrypy.tree.graft(server1, mdm_server, "/")
cherrypy.tree.graft(server2, admin_server, "/admin")
cherrypy.tree.graft(server2, acct_server, "/accounting")