From 0c526f4911e85643b86e9d1b76bd28e5c6a141e5 Mon Sep 17 00:00:00 2001 From: Satria Date: Sun, 1 Mar 2026 10:03:57 +0700 Subject: [PATCH] fix proxy host forwarding --- modules/system/homelab/proxy.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;