mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fixed adding an actual wsgi app from switch from cheroot to cherrypy
This commit is contained in:
parent
38fd2da0ec
commit
344f57c4f6
@ -305,9 +305,11 @@ def start():
|
||||
else:
|
||||
root.verify_certs(gconf['ssl_crt'], gconf['ssl_key'])
|
||||
|
||||
app = cherrypy.tree.mount(root, '/', config=conf)
|
||||
|
||||
ssl_a = wsgiserver.ssl_builtin.BuiltinSSLAdapter(
|
||||
gconf['ssl_crt'], gconf['ssl_key'])
|
||||
wsgi_d = wsgiserver.WSGIPathInfoDispatcher({'/': root})
|
||||
wsgi_d = wsgiserver.WSGIPathInfoDispatcher({'/': app})
|
||||
server = wsgiserver.CherryPyWSGIServer(
|
||||
('0.0.0.0', gconf['server.socket_port']),
|
||||
wsgi_app=wsgi_d)
|
||||
|
Loading…
Reference in New Issue
Block a user