From ea7996ce0a1715ca5e47df374ca7ff2ce412a6aa Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Sat, 28 Oct 2023 21:34:47 +0200 Subject: [PATCH] add virtualhost for nextcloud --- hosts/nachtigall/apps/nextcloud.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/nachtigall/apps/nextcloud.nix b/hosts/nachtigall/apps/nextcloud.nix index 1cb6b910..575aa6ec 100644 --- a/hosts/nachtigall/apps/nextcloud.nix +++ b/hosts/nachtigall/apps/nextcloud.nix @@ -6,6 +6,11 @@ owner = config.services.mastodon.user; }; + services.nginx.virtualHosts."cloud.pub.solar" = { + enableACME = true; + forceSSL = true; + }; + services.nextcloud = { hostName = "cloud.pub.solar"; home = "/var/lib/nextcloud";