Pass SSL config in the UDS case
@@ -365,7 +365,7 @@ class Server:
uds_perms = 0o666
if os.path.exists(config.uds):
uds_perms = os.stat(config.uds).st_mode
- server = await loop.create_unix_server(create_protocol, path=config.uds)
+ server = await loop.create_unix_server(create_protocol, path=config.uds, ssl=config.ssl)
os.chmod(config.uds, uds_perms)
message = "Uvicorn running on unix socket %s (Press CTRL+C to quit)"
self.logger.info(message % config.uds)
