add virtualhost for nextcloud

This commit is contained in:
Hendrik Sokolowski 2023-10-28 21:34:47 +02:00 committed by Benjamin Bädorf
parent ece8e9156a
commit ea7996ce0a
No known key found for this signature in database
GPG key ID: 1B7BF5B77A521346

View file

@ -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";