mirror of
https://github.com/iv-org/documentation.git
synced 2025-11-24 01:24:11 -05:00
doc: improve again
This commit is contained in:
parent
ab617553f1
commit
e82b6ee10b
6 changed files with 52 additions and 35 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Traefik reverse proxy setup with Invidious companion
|
||||
# Traefik reverse proxy setup with Invidious companion direct traffic
|
||||
|
||||
This is a very basic config, assuming that you're using Traefik to manage SSL certificates for you, and Traefik is on the same server as the Invidious and companion container.
|
||||
Do not forget to replace `<server_name>` with your domain.
|
||||
|
|
@ -8,7 +8,7 @@ Do not forget to replace `<server_name>` with your domain.
|
|||
...
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.invidious.rule=Host(`<server_name>`) && !(Path(`/latest_version`) || PathPrefix(`/api/manifest/dash/id/`) || PathPrefix(`/api/v1/captions/`) || PathPrefix(`/videoplayback`))"
|
||||
- "traefik.http.routers.invidious.rule=Host(`<server_name>`) && !(Path(`/companion`))"
|
||||
- "traefik.http.routers.invidious.entrypoints=web-sec"
|
||||
- "traefik.http.routers.invidious.tls.certresolver=le"
|
||||
- "traefik.http.services.invidious.loadbalancer.server.port=3000"
|
||||
|
|
@ -19,7 +19,7 @@ Do not forget to replace `<server_name>` with your domain.
|
|||
...
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.invidious-companion.rule=Host(`<server_name>`) && (Path(`/latest_version`) || PathPrefix(`/api/manifest/dash/id/`) || PathPrefix(`/api/v1/captions/`) || PathPrefix(`/videoplayback`))"
|
||||
- "traefik.http.routers.invidious-companion.rule=Host(`<server_name>`) && (Path(`/companion`))"
|
||||
- "traefik.http.routers.invidious-companion.entrypoints=web-sec"
|
||||
- "traefik.http.routers.invidious-companion.tls.certresolver=le"
|
||||
- "traefik.http.services.invidious-companion.loadbalancer.server.port=8282"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue