mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Merge branch 'Dokploy:canary' into feature/gpu-support-blender-template
This commit is contained in:
commit
a331020bf8
@ -140,7 +140,7 @@ export const UpdatePort = ({ portId }: Props) => {
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>Target Port</FormLabel>
|
<FormLabel>Target Port</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input placeholder="1-65535" {...field} />
|
<NumberInput placeholder="1-65535" {...field} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
|
@ -268,6 +268,12 @@ export const createDomainLabels = async (
|
|||||||
`traefik.http.routers.${routerName}.service=${routerName}`,
|
`traefik.http.routers.${routerName}.service=${routerName}`,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if (domain.path && domain.path.length > 0 && domain.path !== "/") {
|
||||||
|
labels.push(
|
||||||
|
`traefik.http.routers.${routerName}.rule=PathPrefix(\`${domain.path}\`)`,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if (entrypoint === "web" && https) {
|
if (entrypoint === "web" && https) {
|
||||||
labels.push(
|
labels.push(
|
||||||
`traefik.http.routers.${routerName}.middlewares=redirect-to-https@file`,
|
`traefik.http.routers.${routerName}.middlewares=redirect-to-https@file`,
|
||||||
|
Loading…
Reference in New Issue
Block a user