@@ -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
|
||||
---
|
||||
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user