Merge branch 'Dokploy:canary' into feature/gpu-support-blender-template

This commit is contained in:
Vishal kadam
2024-11-07 16:36:50 +05:30
committed by GitHub
5 changed files with 44 additions and 24 deletions

View File

@@ -268,7 +268,7 @@ export const createDomainLabels = async (
`traefik.http.routers.${routerName}.service=${routerName}`,
];
if (domain.path && domain.path.length > 0 && domain.path !== "/") {
if (domain.path) {
labels.push(
`traefik.http.routers.${routerName}.rule=PathPrefix(\`${domain.path}\`)`,
);