From 226232414f1a6d470a2e53b599ee63b1dd213aa7 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 1 Sep 2024 17:33:22 -0500 Subject: [PATCH] r/jellyfin: Fix HAProxy vhost Without including the settings from `ssl.include`, the virtual host bound to port 8443 expects to handle plain HTTP traffic, rather than HTTPS. --- roles/jellyfin/templates/jellyfin.httpd.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/jellyfin/templates/jellyfin.httpd.conf.j2 b/roles/jellyfin/templates/jellyfin.httpd.conf.j2 index a9832cd..7ca2f1d 100644 --- a/roles/jellyfin/templates/jellyfin.httpd.conf.j2 +++ b/roles/jellyfin/templates/jellyfin.httpd.conf.j2 @@ -31,6 +31,8 @@ Listen 8443 ServerName {{ jellyfin_server_name }} + Include conf.d/ssl.include + SSLCertificateFile {{ jellyfin_ssl_certificate }} SSLCertificateKeyFile {{ jellyfin_ssl_certificate_key }} SSLCertificateChainFile {{ jellyfin_ssl_certificate }}