@@ -33,7 +33,7 @@ metadata:
|
|||||||
name: dashboard
|
name: dashboard
|
||||||
spec:
|
spec:
|
||||||
displayName: Traefik dashboard
|
displayName: Traefik dashboard
|
||||||
uri: 'https://traefik.k-space.ee'
|
uri: 'https://traefik.k-space.ee/dashboard/#/'
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
@@ -41,8 +41,8 @@ metadata:
|
|||||||
name: dashboard-redirect
|
name: dashboard-redirect
|
||||||
spec:
|
spec:
|
||||||
redirectRegex:
|
redirectRegex:
|
||||||
regex: ^https://traefik.k-space.ee/?$
|
regex: ^https://traefik.k-space.ee/$
|
||||||
replacement: https://traefik.k-space.ee/dashboard/
|
replacement: https://traefik.k-space.ee/dashboard/#/
|
||||||
permanent: false
|
permanent: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@@ -60,7 +60,7 @@ ingressRoute:
|
|||||||
dashboard:
|
dashboard:
|
||||||
enabled: true
|
enabled: true
|
||||||
domain: traefik.k-space.ee
|
domain: traefik.k-space.ee
|
||||||
matchRule: Host(`traefik.k-space.ee`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))
|
matchRule: Host(`traefik.k-space.ee`)
|
||||||
entryPoints: ["websecure"]
|
entryPoints: ["websecure"]
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: "dashboard"
|
- name: "dashboard"
|
||||||
|
Reference in New Issue
Block a user