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"