Skip to content

Commit

Permalink
Merge pull request #56 from syfxlin/develop
Browse files Browse the repository at this point in the history
fix(pack): Traefik http router config
  • Loading branch information
syfxlin authored Jan 21, 2024
2 parents ce52938 + 850e123 commit 2758923
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 2758923

Please sign in to comment.