Instalación
En Debian:
apt update
apt install apt-transport-https ca-certificates gnupg2 curl git -y
echo "deb [signed-by=/etc/apt/keyrings/jellyfin.gpg] https://repo.jellyfin.org/debian $(lsb_release -c -s) main" | tee /etc/apt/sources.list.d/jellyfin.list
wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | apt-key add -
apt update
apt install jellyfin
systemctl status jellyfin
Jellyfin está iniciado en el puerto 8096:
ss -antpl | grep 8096
Proxy inverso
sudo apt install nginx
vim /etc/nginx/conf.d/jellyfin.conf
Dentro, pegar todo esto y cambiar server_name:
server {
listen 80;
listen [::]:80;
server_name example.org;
access_log /var/log/nginx/jellyfin.access;
error_log /var/log/nginx/jellyfin.error;
set $jellyfin 127.0.0.1;
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;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
# Disable buffering when the nginx proxy gets very resource heavy upon streaming
proxy_buffering off;
}
# location block for /web - This is purely for aesthetics so /web/#!/ works instead of having to go to /web/index.html/#!/
location ~ ^/web/$ {
# Proxy main Jellyfin traffic
proxy_pass http://$jellyfin:8096/web/index.html;
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;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
}
location /socket {
# Proxy Jellyfin Websockets traffic
proxy_pass http://$127.0.0.1:8096;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
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;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
}
# Security / XSS Mitigation Headers
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
}
systemctl reload nginx
SSL/TLS
[[HTTPS con Certbot]] que modifique la configuración del sitio.
Recomendaciones
Si la carpeta de Jellyfin está en /media/raid5/Jellyfin/, entonces cogemos propiedad en /media/raid5/.
chown -R servidor:servidor /media/raid5/
Siempre una carpeta antes de la de Jellyfin o de las películas.
IPTV
NO VA NO SE POR QUE
M3U Tuner: https://www.tdtchannels.com/lists/tv.m3u8 Programación: https://www.tdtchannels.com/epg/TV.xml
- Películas:
Cine|Telefilme - Niños:
Infantil - Noticias:
Informativo|Noticias - Deportes:
Deportes|Toros
Personalización
Jellyfin Skin Manager
https://github.com/danieladov/jellyfin-plugin-skin-manager
Restart: systemctl restart jellyfin
