From 4af6798b5d5eac035d66236913502c5ee34d092c Mon Sep 17 00:00:00 2001 From: Jakub Dorfman Date: Wed, 15 Jul 2026 17:00:21 +0200 Subject: [PATCH] fixed missing listen --- nextcloud.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nextcloud.nix b/nextcloud.nix index 3b8a35c..692aaad 100644 --- a/nextcloud.nix +++ b/nextcloud.nix @@ -19,7 +19,9 @@ https = true; # Let Caddy handle TLS termination; nginx only listens on localhost. - nginx.listen = [ + # The nextcloud module creates the virtualhost at hostName; we override + # its listen address here. + services.nginx.virtualHosts.${config.services.nextcloud.hostName}.listen = [ { addr = "127.0.0.1"; port = 8081;