From dc64963a343a5cd346d50a053d39ae4fd94377f0 Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Thu, 23 Nov 2023 23:08:44 -0500 Subject: [PATCH] Revert "traefik dashboard attempt 2" This reverts commit 5f2e7f1a7caa7b8533cbc7dea698d510c1694ad1. --- traefik/helmrelease-traefik.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/traefik/helmrelease-traefik.yaml b/traefik/helmrelease-traefik.yaml index 3d02ca9..9c43cbd 100644 --- a/traefik/helmrelease-traefik.yaml +++ b/traefik/helmrelease-traefik.yaml @@ -168,11 +168,11 @@ spec: # -- Additional ingressRoute labels (e.g. for filtering IngressRoute by custom labels) labels: {} # -- The router match rule used for the dashboard ingressRoute - matchRule: Host(`server.michaelthomson.dev`) + matchRule: PathPrefix(`/dashboard`) || PathPrefix(`/api`) # -- Specify the allowed entrypoints to use for the dashboard ingress route, (e.g. traefik, web, websecure). # By default, it's using traefik entrypoint, which is not exposed. # /!\ Do not expose your dashboard without any protection over the internet /!\ - entryPoints: ["websecure"] + entryPoints: ["traefik", "websecure"] # -- Additional ingressRoute middlewares (e.g. for authentication) middlewares: [] # -- TLS options (e.g. secret containing certificate) @@ -666,8 +666,8 @@ spec: # Port Redirections # Added in 2.2, you can make permanent redirects via entrypoints. # https://docs.traefik.io/routing/entrypoints/#redirection - redirectTo: - port: websecure + # redirectTo: + # port: websecure # (Optional) # priority: 10 #