From 976c45b1fa0bf0103a2248ff37bf726a4d3de5ff Mon Sep 17 00:00:00 2001 From: knylbyte <40831653+knylbyte@users.noreply.github.com> Date: Fri, 13 Jun 2025 16:04:26 +0200 Subject: [PATCH] Add more detail for traefik proxy --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c2c620221..2a93ae565 100644 --- a/README.md +++ b/README.md @@ -1392,7 +1392,9 @@ Now you can do `nginx` configuration like proxy_redirect off; } ``` -You can also use traefik as reverse proxy server in front of your tuliprox instance with the following labels in your docker-compose file: +You can also use traefik as reverse proxy server in front of your tuliprox instance. However if you wan't to use paths, you must note that the path for web-ui and api-proxy must be different. In this short example used paths are: +* web-ui: tuliprox +* api-proxy: tv ```yaml labels: # ----- Service ----- @@ -1400,7 +1402,7 @@ labels: # ----- HTTP (Port 80) ----- - "traefik.http.routers.tuliprox.entrypoints=web" - - "traefik.http.routers.tuliprox.rule=Host(``tv.my-domain.io`) && (PathPrefix(`/tv`) || PathPrefix(`/tuliprox`))" # 1. path: api-proxy endpoint || 2. path: web-ui endpoint + - "traefik.http.routers.tuliprox.rule=Host(`tv.my-domain.io`) && (PathPrefix(`/tv`) || PathPrefix(`/tuliprox`))" # 1. path: api-proxy endpoint || 2. path: web-ui endpoint # ----- HTTPS (Port 443) ----- - "traefik.http.routers.tuliprox-secure.entrypoints=websecure" @@ -2027,4 +2029,4 @@ Regex extraction: Pulls the 4-digit year from the caption. Mapping: If the year is ≤ 2019, it maps to " < 2020". Otherwise, the group is named by the actual year (e.g., "2021"). -Assignment: Constructs a new group label like "FR | MOVIES 2021" and assigns it to @Group \ No newline at end of file +Assignment: Constructs a new group label like "FR | MOVIES 2021" and assigns it to @Group