about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorMichele Guerini Rocco <rnhmjoj@users.noreply.github.com>2020-04-15 09:18:28 +0200
committerGitHub <noreply@github.com>2020-04-15 09:18:28 +0200
commitda232ea49760e2a08e9d2ec9d1f7b30e9e06c561 (patch)
tree78ce93c360e687deec36fc6ffd44ac6bea69c3b6 /nixos/modules/services
parent1d8a8d0359a938d24b57de854e169acf2468ffb1 (diff)
parent519d4f8e33261df1e785c25877a437c52d6df5b5 (diff)
downloadnixlib-da232ea49760e2a08e9d2ec9d1f7b30e9e06c561.tar
nixlib-da232ea49760e2a08e9d2ec9d1f7b30e9e06c561.tar.gz
nixlib-da232ea49760e2a08e9d2ec9d1f7b30e9e06c561.tar.bz2
nixlib-da232ea49760e2a08e9d2ec9d1f7b30e9e06c561.tar.lz
nixlib-da232ea49760e2a08e9d2ec9d1f7b30e9e06c561.tar.xz
nixlib-da232ea49760e2a08e9d2ec9d1f7b30e9e06c561.tar.zst
nixlib-da232ea49760e2a08e9d2ec9d1f7b30e9e06c561.zip
Merge pull request #78129 from flyfloh/airsonic-vhost
airsonic: fix virtualHost option
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/misc/airsonic.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/airsonic.nix b/nixos/modules/services/misc/airsonic.nix
index c296e048cea4..5cc2ff7f4bd1 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}";
       };