Skip to content

Commit

Permalink
Merge pull request #78129 from flyfloh/airsonic-vhost
Browse files Browse the repository at this point in the history
airsonic: fix virtualHost option
  • Loading branch information
rnhmjoj committed Apr 15, 2020
2 parents 1d8a8d0 + 519d4f8 commit da232ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/misc/airsonic.nix
Expand Up @@ -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}";
};
Expand Down

0 comments on commit da232ea

Please sign in to comment.