diff --git a/src/quart/app.py b/src/quart/app.py index 7ebda17..3c32e38 100644 --- a/src/quart/app.py +++ b/src/quart/app.py @@ -919,7 +919,10 @@ def run_task( config = HyperConfig() config.access_log_format = "%(h)s %(r)s %(s)s %(b)s %(D)s" config.accesslog = "-" - config.bind = [f"{host}:{port}"] + if host.startswith("unix:") or host.startswith("fd:"): + config.bind = [f"{host}"] + else: + config.bind = [f"{host}:{port}"] config.ca_certs = ca_certs config.certfile = certfile if debug is not None: