“Haproxy è un software gratuito e open source che fornisce un bilanciamento del carico e un server proxy altamente disponibili per applicazioni basate su TCP e HTTP che distribuiscono le richieste su più server [1]. È scritto in C [2] e ha la reputazione di essere veloce ed efficiente (in termini di processore e utilizzo della memoria). ” - Wikipedia
frontend jellyfin_proxy bind *: 80# Nota che haproxy richiede di concatenare il certificato e la chiave in un singolo file # Scomponi le righe appropriate dopo aver acquisito un certificato SSL## HAProxy 7# bind *: 443 ssl crt / etc / ssl / NAME_DIN pem## HAProxy; 1.8# bind *: 443 ssl crt /etc/ssl/DOMA_NAME.pem alpn h2, http / 1.1# schema di reindirizzamento https if! {ssl_fc} ## Rimuovi il commento da queste righe per consentire l'autenticazione ben noto / acme-challenge / # use_backend letsencrypt se letsencrypt_auth acl jellyfin_server hdr (host) -i DOMAIN_NAME use_backend jellyfin se jellyfin_serverbackend http-request set-header X-Forwarded-Port % [dst_port header] http-request -Proto https if {ssl_fc} server jellyfin SERVER_IP_ADDRESS: 8096# Sblocca queste righe per consentire LetsEncrypt#1TP3Autenticazione backend letsencrypt# server letsencrypt 127. 0.0.1: 8888
