mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
Merge pull request #78129 from flyfloh/airsonic-vhost
airsonic: fix virtualHost option
This commit is contained in:
commit
da232ea497
|
@ -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}";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue