Skip to content

Commit

Permalink
fix(pack): Traefik http router config
Browse files Browse the repository at this point in the history
  • Loading branch information
syfxlin committed Jan 21, 2024
1 parent 8fd3a39 commit 850e123
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/service/pack.context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ export class PackContext<Config extends ServiceConfig = ServiceConfig> {
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
Expand Down

0 comments on commit 850e123

Please sign in to comment.