This commit is contained in:
mathieu 2024-06-19 18:03:22 +02:00
parent 09cf7785d0
commit 984cd81b64

View File

@ -7,12 +7,19 @@ http:
middlewares: middlewares:
- replacepathregex-nas - replacepathregex-nas
router-dsm-2: 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" service: "service-dsm"
tls: tls:
certResolver: myresolver certResolver: myresolver
middlewares: middlewares:
- replacepathregex-nas - replacepathregex-nas
router-dsm-default:
rule: "Host(`huguette.ovh`)"
service: "service-dsm"
tls: {}
middlewares:
- replacepathregex-nas
priority: 1000
router-vaultwarden: router-vaultwarden:
rule: "Host(`huguettes.freeboxos.fr`) && PathPrefix(`/vaultwarden`)" rule: "Host(`huguettes.freeboxos.fr`) && PathPrefix(`/vaultwarden`)"
service: "service-vaultwarden" service: "service-vaultwarden"