From 23805531323113a8f052bc3df8ba5151021c7220 Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Tue, 7 Dec 2021 14:09:45 +0100 Subject: [PATCH] Fix Jellyfin websockets --- modules/jellyfin.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/jellyfin.nix b/modules/jellyfin.nix index 140783b..12c278b 100644 --- a/modules/jellyfin.nix +++ b/modules/jellyfin.nix @@ -28,6 +28,11 @@ locations."/socket" = { proxyPass = "http://127.0.0.1:8096"; + extraConfig = '' + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + ''; }; }; }