hello,
I would like to perform some health checks over my running tasks.
all requests are redirect to https when they are reaching the container.
During the nomad health check when specify https as protocol ans skipTLScheck option true i get this message : nomad: Get "https://192.168.1.23:28732/health": http: server gave HTTP response to HTTPS client
If i switch the protocol from https
to http
i get this error : nomad: Get "https://192.168.1.23/health": x509: cannot validate certificate for 192.168.1.23 because it doesn't contain any IP SANs
Can you help me to understand how service check are working and if i can make this check working ?