mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-23 10:48:28 +02:00
Make traefik config wor
This commit is contained in:
parent
7ca507b1ce
commit
83a696f743
2 changed files with 3 additions and 4 deletions
|
@ -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")
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue