From 519d4f8e33261df1e785c25877a437c52d6df5b5 Mon Sep 17 00:00:00 2001 From: Florian Date: Tue, 14 Jan 2020 15:22:22 +0100 Subject: [PATCH] airsonic: enable nginx.recommendedProxySettings with virtualHost This fixes music playback when using the `services.airsonic.virtualHost` option. --- nixos/modules/services/misc/airsonic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/airsonic.nix b/nixos/modules/services/misc/airsonic.nix index c296e048cea41..5cc2ff7f4bd12 100644 --- a/nixos/modules/services/misc/airsonic.nix +++ b/nixos/modules/services/misc/airsonic.nix @@ -138,6 +138,7 @@ in { services.nginx = mkIf (cfg.virtualHost != null) { enable = true; + recommendedProxySettings = true; virtualHosts.${cfg.virtualHost} = { locations.${cfg.contextPath}.proxyPass = "http://${cfg.listenAddress}:${toString cfg.port}"; };