HAProxy
Traducción Beta No Oficial
Esta página fue traducida por PageTurner AI (beta). No está respaldada oficialmente por el proyecto. ¿Encontraste un error? Reportar problema →
Nota: Para soporte HTTP/3, asegúrate de abrir/redirigir el puerto UDP 443 en tu firewall, ya que HTTP/3 utiliza UDP.
"Haproxy es un software gratuito y de código abierto que proporciona un balanceador de carga de alta disponibilidad y servidor proxy para aplicaciones basadas en TCP y HTTP, distribuyendo solicitudes entre múltiples servidores.[1] Está escrito en C[2] y tiene reputación de ser rápido y eficiente (en términos de uso de procesador y memoria)." - Wikipedia
frontend jellyfin_proxy
bind *:80
# Note that haproxy requires you to concatenate the certificate and key into a single file
# Uncomment the appropriate lines after you have acquired a SSL Certificate
#
# HAProxy <1.7
# bind *:443 ssl crt /etc/ssl/DOMAIN_NAME.pem
#
# HAProxy >1.8
# bind *:443 ssl crt /etc/ssl/DOMAIN_NAME.pem alpn h2,http/1.1
# redirect scheme https if !{ ssl_fc }
#
# Uncomment these lines to allow LetsEncrypt authentication
# acl letsencrypt_auth path_beg /.well-known/acme-challenge/
# use_backend letsencrypt if letsencrypt_auth
acl jellyfin_server hdr(host) -i DOMAIN_NAME
use_backend jellyfin if jellyfin_server
backend jellyfin
option httpchk
option forwardfor
http-check send meth GET uri /health
http-check expect string Healthy
server jellyfin SERVER_IP_ADDRESS:8096
# Uncomment these lines to allow LetsEncrypt authentication
#
#backend letsencrypt
# server letsencrypt 127.0.0.1:8888