Skip to content

Commit

Permalink
style(traefik): seperate commented endpoints to different lines
Browse files Browse the repository at this point in the history
Signed-off-by: Rodney Osodo <[email protected]>
  • Loading branch information
rodneyosodo committed Sep 12, 2024
1 parent 5a1f3e8 commit d404b43
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker-compose/traefik/dynamic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ http:
stripPrefix:
prefixes:
- "/users"
strip-ollama-prefix-middleware:
stripPrefix:
prefixes:
- "/ollama"

services:
users:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d404b43

Please sign in to comment.