add targets for local sites

This commit is contained in:
Milo Schwartz
2025-01-12 15:59:28 -05:00
parent b39fe87eea
commit 3ffca75915

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}`,
},
],
},
};
}
}