Closed autophagy closed 5 years ago
Testing HTTPS is not necessarily required IMO; we should be able to rely on --insecure
to work as expected.
Could we instead of having a HTTP level check do a check on TCP level? E.g. with socat / nc?
@mfussenegger something like
printf "GET / HTTP/1.1\r\n\r\n" | nc localhost 4200 | grep HTTP/1.1 | awk {'print $2'}
? Though, if our healthcheck gets complicated, I'd rather put it into a healthcheck.sh.
@chaudum Do you know of a straightforward way of testing the usecase with SSL enabled? As far as I know, to get SSL working on the docker container would require much more configuration than just enabling SSL. Thoughts?