From d404b432261c726dab4ee840788f14b3ffc7f1fd Mon Sep 17 00:00:00 2001 From: Rodney Osodo Date: Thu, 12 Sep 2024 10:57:04 +0300 Subject: [PATCH] style(traefik): seperate commented endpoints to different lines Signed-off-by: Rodney Osodo --- docker-compose/traefik/dynamic.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docker-compose/traefik/dynamic.yaml b/docker-compose/traefik/dynamic.yaml index ca4972c..84af019 100644 --- a/docker-compose/traefik/dynamic.yaml +++ b/docker-compose/traefik/dynamic.yaml @@ -20,6 +20,10 @@ http: stripPrefix: prefixes: - "/users" + strip-ollama-prefix-middleware: + stripPrefix: + prefixes: + - "/ollama" services: users: @@ -108,7 +112,11 @@ http: priority: 10 users-entities: - # /groups/{group_id}/users or /channels/{channel_id}/users or /domains/{domain_id}/users or /channels/{member_id}/groups or /users/{member_id}/groups + # /groups/{group_id}/users + # /channels/{channel_id}/users + # /domains/{domain_id}/users + # /channels/{member_id}/groups + # /users/{member_id}/groups rule: "PathRegexp(`^/(groups|channels|domains)/(.+)/users`) || PathRegexp(`^/(channels|users)/(.+)/groups`)" entryPoints: - websecure