diff --git a/traefik/rules.yaml b/traefik/rules.yaml index bbad8e0..f91acc5 100644 --- a/traefik/rules.yaml +++ b/traefik/rules.yaml @@ -7,12 +7,19 @@ http: middlewares: - replacepathregex-nas router-dsm-2: - rule: "Host(`huguette.ovh`) && PathRegexp(`(/nas|/photo|/file|/drive|/note|?launchApp.*)`)" + rule: "Host(`huguette.ovh`) && PathRegexp(`(/nas|/photo|/file|/drive|/note)`)" service: "service-dsm" tls: certResolver: myresolver middlewares: - replacepathregex-nas + router-dsm-default: + rule: "Host(`huguette.ovh`)" + service: "service-dsm" + tls: {} + middlewares: + - replacepathregex-nas + priority: 1000 router-vaultwarden: rule: "Host(`huguettes.freeboxos.fr`) && PathPrefix(`/vaultwarden`)" service: "service-vaultwarden"