airsonic: enable nginx.recommendedProxySettings with virtualHost
This fixes music playback when using the `services.airsonic.virtualHost` option.
This commit is contained in:
parent
3a3ccb106e
commit
519d4f8e33
1 changed files with 1 additions and 0 deletions
|
@ -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