Skip to content Skip to sidebar Skip to footer

Cherrypy 3.2.0 : Starting Engine To Run Both Http And Https In Th Same Instance

Good morning, I successfully start cherrypy 3.2.0 engine in HTTP OR HTTPS : # ssl variable commes input parameters. Bellow cherrypy configuration is fully configured if ssl:

Solution 1:

You need to have two servers on different ports: Multiple servers/ports. Also there is a multi-server config feature that seems to be undocumented, see if it works for you, refer to _server_namespace_handler() function in _cpconfig.py.


Post a Comment for "Cherrypy 3.2.0 : Starting Engine To Run Both Http And Https In Th Same Instance"