mirror of
https://github.com/iv-org/documentation.git
synced 2025-01-06 21:07:59 -05:00
23 lines
480 B
Markdown
23 lines
480 B
Markdown
# Caddy reverse proxy setup with Invidious companion
|
|
|
|
This is a very basic config, assuming that you're using Caddy to manage SSL certificates for you.
|
|
Any log is disabled by default. Do not forget to replace `server_name` with your domain.
|
|
|
|
```
|
|
https://<server_name> {
|
|
|
|
@companion {
|
|
path /latest_version
|
|
path /api/manifest/dash/id/*
|
|
path /videoplayback*
|
|
}
|
|
|
|
reverse_proxy @companion localhost:8282
|
|
reverse_proxy localhost:3000
|
|
|
|
log {
|
|
output discard
|
|
}
|
|
}
|
|
```
|