removed listenaddr

This commit is contained in:
2025-01-22 04:09:50 -06:00
parent 6fc01a3330
commit 385c15e791
2 changed files with 3 additions and 4 deletions

View File

@@ -41,14 +41,13 @@ let
default = "${config.my.servers.${name}.hostName}" == config.my.mainServer;
};
};
proxy = cfg: locations: {
proxy = locations: {
inherit locations;
forceSSL = true;
enableACME = true;
http2 = true;
# listenAddresses = [ cfg.ip ];
};
proxyReverse = cfg: proxy cfg { "/".proxyPass = "http://${cfg.ip}:${toString cfg.port}/"; };
proxyReverse = cfg: proxy { "/".proxyPass = "http://${cfg.ip}:${toString cfg.port}/"; };
proxyReverseFix =
cfg:
let