From b36fdc9a9b5e6c2f90f354367482a41945c860b8 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Sun, 5 Jan 2025 23:28:10 +0530 Subject: [PATCH] feat: re-enable nextcloud --- nixos/mirai/services/default.nix | 2 +- nixos/mirai/services/nextcloud.nix | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nixos/mirai/services/default.nix b/nixos/mirai/services/default.nix index 9ed4718e..609f317b 100644 --- a/nixos/mirai/services/default.nix +++ b/nixos/mirai/services/default.nix @@ -5,7 +5,7 @@ ./home-assistant.nix ./navidrome.nix ./llama.nix - # ./nextcloud.nix + ./nextcloud.nix # ./jellyfin.nix ]; services = { diff --git a/nixos/mirai/services/nextcloud.nix b/nixos/mirai/services/nextcloud.nix index 48d12ec3..548d4b6d 100644 --- a/nixos/mirai/services/nextcloud.nix +++ b/nixos/mirai/services/nextcloud.nix @@ -21,11 +21,11 @@ reverse_proxy localhost:8080 ''; }; + nginx.virtualHosts."${config.services.nextcloud.hostName}".listen = [ + { + addr = "127.0.0.1"; + port = 8080; # NOT an exposed port + } + ]; }; - nginx.virtualHosts."${config.services.nextcloud.hostName}".listen = [ - { - addr = "127.0.0.1"; - port = 8080; # NOT an exposed port - } - ]; }