documentation/docs/companion-caddy.md
2024-12-24 11:48:22 +00:00

480 B

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
  }
}