mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-28 04:32:54 +08:00
Allow configurable host and port for rida.py
This commit is contained in:
7
rida.py
7
rida.py
@@ -190,4 +190,9 @@ def _establish_ssl_context(conf):
|
||||
if __name__ == "__main__":
|
||||
logging.info("Starting Rida")
|
||||
ssl_ctx = _establish_ssl_context(conf)
|
||||
app.run(request_handler = rida.auth.ClientCertRequestHandler, ssl_context=ssl_ctx)
|
||||
app.run(
|
||||
host=conf.host,
|
||||
port=conf.port,
|
||||
request_handler=rida.auth.ClientCertRequestHandler,
|
||||
ssl_context=ssl_ctx,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user