fix(wordpress/module): Use imap1 to have correct ip

This commit is contained in:
Tom Hubrecht 2024-01-08 20:10:04 +01:00
parent 3533076bd4
commit 996a0d28ce

View file

@ -91,9 +91,9 @@ in {
};
config = mkIf cfg.enable {
containers = builtins.listToAttrs (lib.imap0 mkContainer siteList);
containers = builtins.listToAttrs (lib.imap1 mkContainer siteList);
services.nginx.virtualHosts =
builtins.listToAttrs (lib.imap0 mkVhost siteList);
builtins.listToAttrs (lib.imap1 mkVhost siteList);
};
}