fix(wordpress/module): Use imap1 to have correct ip
All checks were successful
build configuration / build_storage01 (push) Successful in 48s
build configuration / build_web01 (push) Successful in 1m5s
build configuration / build_compute01 (push) Successful in 1m12s

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 { config = mkIf cfg.enable {
containers = builtins.listToAttrs (lib.imap0 mkContainer siteList); containers = builtins.listToAttrs (lib.imap1 mkContainer siteList);
services.nginx.virtualHosts = services.nginx.virtualHosts =
builtins.listToAttrs (lib.imap0 mkVhost siteList); builtins.listToAttrs (lib.imap1 mkVhost siteList);
}; };
} }