From b51f0a339d1a1b6b4ef5b5df89d0f298f75a277a Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 26 Aug 2020 13:52:45 -0400 Subject: [PATCH] Fix bug in SSL enabled WSGI server --- api-daemon/pvcapid/Daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/Daemon.py b/api-daemon/pvcapid/Daemon.py index bc1ab842..c2d9a4e6 100755 --- a/api-daemon/pvcapid/Daemon.py +++ b/api-daemon/pvcapid/Daemon.py @@ -34,7 +34,7 @@ else: # Run the WSGI server with SSL http_server = gevent.pywsgi.WSGIServer( (pvc_api.config['listen_address'], pvc_api.config['listen_port']), - app, + pvc_api.app, keyfile=pvc_api.config['ssl_key_file'], certfile=pvc_api.config['ssl_cert_file'] )