Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions docs/self-hosting/reverse-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,40 @@ The app uses WebSockets and accepts large uploads (Takeout imports). If you drop
break. The settings above match what the bundled web container expects.
:::

## Option C - Traefik

Traefik obtains and renews TLS certificates automatically.

For a label based configuration, add these labels to your TypeType container, remember to add the TypeType container to your Traefik network and change `DOMAIN.COM` as appropriate.

```yaml
labels:
traefik.enable: "true"
traefik.docker.network: "proxy"
traefik.http.services.typetype.loadbalancer.server.port: "80"
traefik.http.routers.typetype.service: "typetype"
traefik.http.routers.typetype.entrypoints: "websecure"
traefik.http.routers.typetype.rule: "Host(`typetype.DOMAIN.COM`)"
```

Alternatively, if you use a yaml based Traefik configuration.

```yaml
http:
routers:
typetype:
entryPoints:
- websecure
rule: 'Host(`typetype.DOMAIN.COM`)'
service: typetype

services:
typetype:
loadBalancer:
servers:
- url: https://typetype:80
```

## Remote login and WebSockets

Interactive YouTube login starts with a normal HTTP request, then opens a WebSocket
Expand Down