diff --git a/modules/system/homelab/proxy.nix b/modules/system/homelab/proxy.nix index 4aed3d9..e356ed5 100644 --- a/modules/system/homelab/proxy.nix +++ b/modules/system/homelab/proxy.nix @@ -23,8 +23,9 @@ in { recommendedProxySettings = true; recommendedTlsSettings = true; virtualHosts = builtins.mapAttrs (subdomain: cfg: { - forceSSL = true; + hostName = "${subdomain}.${base}"; useACMEHost = base; + forceSSL = true; locations."/" = { proxyPass = cfg.dest;