diff --git a/traefik/application-extras.yml b/traefik/application-extras.yml index ac3f536..8cbc200 100644 --- a/traefik/application-extras.yml +++ b/traefik/application-extras.yml @@ -33,7 +33,7 @@ metadata: name: dashboard spec: displayName: Traefik dashboard - uri: 'https://traefik.k-space.ee' + uri: 'https://traefik.k-space.ee/dashboard/#/' --- apiVersion: traefik.io/v1alpha1 kind: Middleware @@ -41,8 +41,8 @@ metadata: name: dashboard-redirect spec: redirectRegex: - regex: ^https://traefik.k-space.ee/?$ - replacement: https://traefik.k-space.ee/dashboard/ + regex: ^https://traefik.k-space.ee/$ + replacement: https://traefik.k-space.ee/dashboard/#/ permanent: false --- diff --git a/traefik/values.yml b/traefik/values.yml index 00bb45e..d006d4f 100644 --- a/traefik/values.yml +++ b/traefik/values.yml @@ -60,7 +60,7 @@ ingressRoute: dashboard: enabled: true domain: traefik.k-space.ee - matchRule: Host(`traefik.k-space.ee`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`)) + matchRule: Host(`traefik.k-space.ee`) entryPoints: ["websecure"] middlewares: - name: "dashboard"