cluster/services/attic: remove minio fallback
This commit is contained in:
parent
221a74793c
commit
2995b78bc7
1 changed files with 0 additions and 11 deletions
|
@ -1,12 +1,5 @@
|
|||
{ config, cluster, depot, ... }:
|
||||
with depot.lib.nginx;
|
||||
let
|
||||
addrSplit' = builtins.split ":" config.services.minio.listenAddress;
|
||||
addrSplit = builtins.filter builtins.isString addrSplit';
|
||||
host' = builtins.head addrSplit;
|
||||
host = if host' == "" then "127.0.0.1" else host';
|
||||
port = builtins.head (builtins.tail addrSplit);
|
||||
in
|
||||
{
|
||||
links.garageNixStoreInternalRedirect = {
|
||||
protocol = "http";
|
||||
|
@ -25,10 +18,6 @@ in
|
|||
"${config.links.garageNixStoreInternalRedirect.tuple}" = {
|
||||
fail_timeout = 0;
|
||||
};
|
||||
"${host}:${port}" = {
|
||||
fail_timeout = 0;
|
||||
backup = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
services.nginx.appendHttpConfig = ''
|
||||
|
|
Loading…
Reference in a new issue