cluster/services/ways: unique upstreams
This commit is contained in:
parent
e2397ac946
commit
c358714cbe
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ in
|
|||
{{end}}
|
||||
}
|
||||
'') consulServiceWays;
|
||||
in pkgs.writeText "ways-upstreams.ctmpl" (lib.concatStringsSep "\n" upstreams);
|
||||
in pkgs.writeText "ways-upstreams.ctmpl" (lib.concatStringsSep "\n" (lib.unique upstreams));
|
||||
destination = "/run/consul-template/nginx-ways-upstreams.conf";
|
||||
exec.command = [
|
||||
"${config.services.nginx.package}/bin/nginx"
|
||||
|
|
Loading…
Reference in a new issue