fix(wordpress/module): Use imap1 to have correct ip
This commit is contained in:
parent
3533076bd4
commit
996a0d28ce
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue