Fix bug in SSL enabled WSGI server

This commit is contained in:
Joshua Boniface 2020-08-26 13:52:45 -04:00
parent fc9df76570
commit b51f0a339d
1 changed files with 1 additions and 1 deletions

View File

@ -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']
)