Loading nixos/modules/services/web-apps/nextcloud-notify_push.nix +20 −18 Original line number Diff line number Diff line Loading @@ -159,8 +159,7 @@ in "::1" = [ cfgN.hostName ]; }; services = lib.mkMerge [ { services = { nginx.virtualHosts.${cfgN.hostName}.locations."^~ /push/" = { proxyPass = "http://unix:${cfg.socketPath}"; proxyWebsockets = true; Loading @@ -172,14 +171,17 @@ in proxy_buffering off; ''; }; } (lib.mkIf cfg.bendDomainToLocalhost { nextcloud.settings.trusted_proxies = [ nextcloud = { extraApps = { inherit (config.services.nextcloud.package.packages.apps) notify_push ; }; settings.trusted_proxies = lib.mkIf cfg.bendDomainToLocalhost [ "127.0.0.1" "::1" ]; }) ]; }; }; }; } Loading
nixos/modules/services/web-apps/nextcloud-notify_push.nix +20 −18 Original line number Diff line number Diff line Loading @@ -159,8 +159,7 @@ in "::1" = [ cfgN.hostName ]; }; services = lib.mkMerge [ { services = { nginx.virtualHosts.${cfgN.hostName}.locations."^~ /push/" = { proxyPass = "http://unix:${cfg.socketPath}"; proxyWebsockets = true; Loading @@ -172,14 +171,17 @@ in proxy_buffering off; ''; }; } (lib.mkIf cfg.bendDomainToLocalhost { nextcloud.settings.trusted_proxies = [ nextcloud = { extraApps = { inherit (config.services.nextcloud.package.packages.apps) notify_push ; }; settings.trusted_proxies = lib.mkIf cfg.bendDomainToLocalhost [ "127.0.0.1" "::1" ]; }) ]; }; }; }; }