server:jellyfin
JELLYFIN
Jellyin is for streaming, its plug and play, its good trust me. But you have a lot of files acummulating when streaming them on your own platform so we begin with a Hetzner Storage Box tutorial, so you can skip it if you already own some kind of big storage to save all of your files on.
apt install hcloud-cli
Installation
curl -fsSL https://repo.jellyfin.org/jellyfin_team.gpg.key \ gpg --dearmor -o /usr/share/keyrings/jellyfin.gpg && echo "deb [signed-by=/usr/share/keyrings/jellyfin.gpg] https://repo.jellyfin.org/debian bookworm main" \ tee /etc/apt/sources.list.d/jellyfin.list \ apt update \ apt install -y jellyfin
Start the Service:
systemctl enable --now jellyfin
NGINX
/etc/nginx/sites-available/jellyfin
----------------------------------------------
server {
listen 80;
listen [::]:80;
server_name your-website.org;
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name your-website.org;
ssl_certificate /etc/letsencrypt/live/your-website.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/your-website.org/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
location / {
proxy_pass http://127.0.0.1:8096;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
----------------------------------------------
nginx -t && systemctl reload nginx
JELLYFIN
Visit your server IP at 8096 http://<YOURE-SERVER-IP>:8096 and create a admin user and go trough the setup-wizard, after that you can login with your new credentials on your-website.org.
🎉 FINISH enjoy streaming with your own Jellyfin Instance.