cluster/services/storage: garage health endpoint does not like HEAD

This commit is contained in:
Max Headroom 2023-11-03 20:47:34 +01:00
parent 024dcc78b0
commit 8f8c2bc0ce

View file

@ -37,14 +37,12 @@ in
http = "https://${address}/health"; http = "https://${address}/health";
tls_server_name = "garage.${domain}"; tls_server_name = "garage.${domain}";
header.Host = lib.singleton tls_server_name; header.Host = lib.singleton tls_server_name;
method = "HEAD";
} }
{ {
name = "Garage Node"; name = "Garage Node";
id = "service:garage:node"; id = "service:garage:node";
interval = "5s"; interval = "5s";
http = "${config.links.garageMetrics.url}/health"; http = "${config.links.garageMetrics.url}/health";
method = "HEAD";
} }
]; ];
}; };