fix proxy host forwarding

This commit is contained in:
Satria 2026-03-01 10:03:57 +07:00
commit 0c526f4911

View file

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