Consul gives healthcheck error when setting client = false on server

Hi!

I’m struggeling a bit with understanding the health check in consul for nomad.
I’m setting up one server and one client/worker. (homelab)

Server config:

data_dir = "/opt/nomad/data"
bind_addr = "0.0.0.0"

consul {
  address = "consul.service.consul:8500"
  token = "<token>"
}

server {
  enabled = true
  bootstrap_expect = 1
}

client {
  enabled = false
}

Client config:

data_dir = "/opt/nomad/data"
bind_addr = "0.0.0.0"

consul {
  address = "consul.service.consul:8500"
  token = "<token>"
}

client {
  enabled = true
  servers = ["prd-srv1.node.consul"]
}

With this config I get a health check in Consul which says

HTTP GET http://0.0.0.0:4646/v1/agent/health?type=client: 500 Internal Server Error Output: {"client":{"ok":false,"message":"client not enabled"}}

I don’t want to run anything on the server but rather assign everything to the client/worker.
But I don’t want a bad health check either. Is it something I’m missing or missunderstand?