FreedomBox for Communities/Media Streaming

From Wikibooks, open books for an open world
< FreedomBox for Communities
Jump to navigation Jump to search

Streaming of audio and video content for educational and entertainment purposes.

A multimedia server hosted on FreedomBox hosts content which is streamed to client devices over the network. The free software server chosen for this purpose is Jellyfin, a fork of the now proprietary Emby media server.

Installation instructions[edit]

Jellyfin has an unofficial Debian package which can either be installed manually or from their repository. Install it onFreedomBox by following the instructions for Debian.

Setting up Apache as reverse proxy[edit]

Create the file /etc/apache2/conf-available/jellyfin.conf with the following contents.

<Location /media>
  ProxyPass http://localhost:8096
</Location>

Note: Do not set the path to /jellyfin as Jellyfin is served at /jellyfin by default. This would cause an infinite redirect.


Enable the above Apache configuration by running the following commands.

sudo ln -s /etc/apache2/conf-available/jellyfin.conf /etc/apache2/conf-enabled
sudo systemctl reload apache2

  Now the Jellyfin server should be available at https://<freedombox-url>/media