From 2c877170fa5034ae864009a43d0ed1eb1d61863f Mon Sep 17 00:00:00 2001 From: mathieu Date: Wed, 19 Jun 2024 17:42:26 +0200 Subject: [PATCH] rules --- traefik/rules.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/traefik/rules.yaml b/traefik/rules.yaml index 6460e33..527be02 100644 --- a/traefik/rules.yaml +++ b/traefik/rules.yaml @@ -6,11 +6,17 @@ http: tls: {} middlewares: - replacepathregex-nas + router-dsm-2: + rule: "Host(`huguette.ovh`) && PathRegexp(`(/nas|/photo|/file|/drive|/note)`)" + service: "service-dsm" + tls: + certResolver: myresolver + middlewares: + - replacepathregex-nas router-vaultwarden: rule: "Host(`huguettes.freeboxos.fr`) && PathPrefix(`/vaultwarden`)" service: "service-vaultwarden" tls: {} - router-gitea: rule: "Host(`huguettes.freeboxos.fr`) && PathPrefix(`/gitea`)" service: "service-gitea"