From 850e123c3054a7abc01b4b650845c360b187924b Mon Sep 17 00:00:00 2001 From: syfxlin Date: Sun, 21 Jan 2024 18:26:51 +0800 Subject: [PATCH] fix(pack): Traefik http router config --- src/modules/service/pack.context.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/service/pack.context.ts b/src/modules/service/pack.context.ts index 67c72a0..62a675e 100644 --- a/src/modules/service/pack.context.ts +++ b/src/modules/service/pack.context.ts @@ -361,8 +361,8 @@ export class PackContext { middlewares.push(`${name}-https`); } else { // http - labels[`traefik.http.routers.${name}-http.rule`] = rule; - labels[`traefik.http.routers.${name}-http.entrypoints`] = "http"; + labels[`traefik.http.routers.${name}.rule`] = rule; + labels[`traefik.http.routers.${name}.entrypoints`] = "http"; } // middleware