Local sites working

This commit is contained in:
Owen Schwartz
2025-01-12 13:09:30 -05:00
parent 4c7581df4f
commit 161e87dbda
4 changed files with 109 additions and 83 deletions

View File

@@ -151,6 +151,16 @@ export async function traefikConfigProvider(
],
},
};
} else if (site.type === "local") {
http.services![serviceName] = {
loadBalancer: {
servers: [
{
url: `${target.method}://${target.ip}:${target.port}`,
},
],
},
};
}
}