mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-03 09:16:40 +00:00
Make traefik config wor
This commit is contained in:
@@ -210,9 +210,9 @@ export class TraefikConfigManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.debug(
|
// logger.debug(
|
||||||
`Successfully retrieved traefik config: ${JSON.stringify(traefikConfig)}`
|
// `Successfully retrieved traefik config: ${JSON.stringify(traefikConfig)}`
|
||||||
);
|
// );
|
||||||
|
|
||||||
const badgerMiddlewareName = "badger";
|
const badgerMiddlewareName = "badger";
|
||||||
if (traefikConfig?.http?.middlewares) {
|
if (traefikConfig?.http?.middlewares) {
|
||||||
|
|||||||
@@ -135,7 +135,6 @@ export async function getTraefikConfig(exitNodeId: number): Promise<any> {
|
|||||||
eq(sites.exitNodeId, exitNodeId),
|
eq(sites.exitNodeId, exitNodeId),
|
||||||
isNull(sites.exitNodeId)
|
isNull(sites.exitNodeId)
|
||||||
),
|
),
|
||||||
ne(targetHealthCheck.hcHealth, "unhealthy")
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user