From d1d392e372d62d0e44d877a83d27f25079a9af13 Mon Sep 17 00:00:00 2001 From: Romain Paquet Date: Fri, 24 Oct 2025 17:15:10 +0200 Subject: [PATCH] remove nextcloud internal domain redirection --- machines/genepi/glance-config.nix | 2 +- modules/nextcloud.nix | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/machines/genepi/glance-config.nix b/machines/genepi/glance-config.nix index 728c3c3..53b991d 100644 --- a/machines/genepi/glance-config.nix +++ b/machines/genepi/glance-config.nix @@ -81,7 +81,7 @@ } { title = "Nextcloud"; - url = "https://cloud.home.rpqt.fr"; + url = "https://cloud.rpqt.fr"; icon = "sh:nextcloud"; } { diff --git a/modules/nextcloud.nix b/modules/nextcloud.nix index 3b960b2..c4be039 100644 --- a/modules/nextcloud.nix +++ b/modules/nextcloud.nix @@ -59,13 +59,6 @@ in enableACME = true; }; - # Redirect internal domain to the public one - services.nginx.virtualHosts."cloud.home.rpqt.fr" = { - forceSSL = true; - useACMEHost = "home.rpqt.fr"; - locations."/".return = "301 http://${fqdn}$request_uri"; - }; - clan.core.vars.generators.nextcloud = { prompts.admin-password = { description = "nextcloud admin password";