linode builds both image and host

This commit is contained in:
Danilo Reyes
2026-02-09 00:13:59 -06:00
parent 7670f2fa94
commit 8d62cffc8e
6 changed files with 116 additions and 72 deletions

View File

@@ -3,7 +3,7 @@ let
cfg = config.my.servers.nextcloud;
in
{
config = lib.mkIf (cfg.enableProxy && config.my.enableProxy) {
config = lib.mkIf (cfg.enableProxy && config.my.enableProxy && config.my.secureHost) {
services.nginx.virtualHosts.${cfg.host} = {
forceSSL = true;
enableACME = true;